Cross Reference: repository_pulling_worker.rb
xref
: /
ontohub
/
lib
/
repository_pulling_worker.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
class
RepositoryPullingWorker
include
Sidekiq
::
Worker
include
Sidetiq
::
Schedulable
sidekiq_options
retry
:
false
,
queue
:
'default'
recurrence
do
hourly.minute
_of_hour
(
0
,
10
,
15
,
20
,
25
,
30
,
35
,
40
,
45
,
50
,
55
)
end
def
perform
Repository.outdated.find
_each
{ |r|
r.call
_remote
:
pull
}
end
end