Kamil Trzciński
a5f6182753
Optimise build queue service
...
This makes BuildQueueService to force refresh runners
that are considered to have recent queue.
Such runners are the ones that connected within online
interval + time to expire runner cache.
2019-08-22 13:51:53 +02:00
gfyoung
265478ad74
Enable frozen string in apps/services/**/*.rb
...
For directories application_settings --> labels.
Partially addresses #47424 .
2018-07-16 12:36:41 -07:00
Dylan Griffith
2261188f48
Rename Runner#invalidate_build_cache -> Runner#pick_build
2018-05-02 16:42:12 +02:00
Dylan Griffith
d8dd25a60e
Introduce Project#all_runners and use in Ci::UpdateBuildQueueService
2018-04-30 17:25:49 +04:00
Dylan Griffith
8d8139862a
Rename runner.belonging_to_group(project.id) -> runner.belonging_to_parent_group_of_project(project.id)
2018-04-27 09:15:54 +08:00
Alexis Reigel
9447e5c27d
extract method to adhere to "tell, don't ask"
2018-04-23 09:21:56 +02:00
Alexis Reigel
d66941002e
dry up: extract method
2018-04-23 09:21:51 +02:00
Alexis Reigel
d8675bd45f
select group runners also in build queue service
2018-04-23 09:21:48 +02:00
Grzegorz Bizon
a5ab418c37
Add missing specs for update build queue service
2017-01-20 14:32:32 +01:00
Kamil Trzcinski
10678525b0
Fix shared runners queue update
2017-01-20 14:02:07 +01:00
Kamil Trzcinski
31af6be076
Fix specs
2017-01-19 23:31:03 +01:00
Kim "BKC" Carlbäcker
f35336a1e6
Fixed broken build
2016-12-21 04:27:03 +01:00
Kim "BKC" Carlbäcker
b0b05f811c
Make expire-time a constant, correct function in Service
2016-12-16 16:39:40 +01:00
Kim "BKC" Carlbäcker
811addf2d1
#NamingThings
2016-12-16 01:04:18 +01:00
Kim "BKC" Carlbäcker
a20681c093
Update Runners in a Service
2016-12-15 22:37:52 +01:00