lex-tasker 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 80c817d10dbe0cf26a7f378fffc59ac5e5014041061aa34cb77a6f78be072948
4
- data.tar.gz: 1b4723077b8a74fba897368d030876c644c648d9c7bfc234e3aa9cc532efa4de
3
+ metadata.gz: a86403f5cd4a6634b29ca4000c36734bb53d4f5913682e2c4f60c97defa6f590
4
+ data.tar.gz: 4dfce03dd9c7ac9b8d5ccfe21d085328fce549c25367b088a33b3df563f6f0b5
5
5
  SHA512:
6
- metadata.gz: 5f63de1378dce2b6cf329df1240e49dce9423ef8de8aa907ae0881dc630450127882421c683eae64497d56d5ba76b21bd81eefe3d356f42e29baf29ef952c940
7
- data.tar.gz: d37ebfa0f4126370e8e142222146fa98e87d5f2ba5d6118c3de4298b1851aed56a15759286ee14624260865576bb194a5b40682cdd50773d5abf0a7aba2fd80b
6
+ metadata.gz: 2017fff11b5c75e1701cce065e7cc38b61bd2b7dbd7cb0de72d0441df9a74e93bac47a9ad9191c3c10c80548b6aa13847ffc26f8189b35fc87ae72311c3e1a3b
7
+ data.tar.gz: d501e798ea13a21333a2f67975d412338a929a23c5e2345af28f88d19be2e0420af9d0ec781cb06033ce2536dd40b33d04c96ada2aa85a8491b5f99fc7a5b0c6
@@ -9,7 +9,8 @@ module Legion::Extensions::Tasker::Runners
9
9
  tasks.each do |task|
10
10
  relationship = task.relationship
11
11
  next if !task.relationship.nil? && Time.now < task.values[:created] + relationship.values[:delay]
12
- next if Time.now < task.values[:created] + task.values[:delay]
12
+
13
+ # next if Time.now < task.values[:created] + task.values[:delay]
13
14
 
14
15
  subtask = Legion::Transport::Messages::SubTask.new(
15
16
  relationship_id: relationship.values[:id],
@@ -26,7 +27,6 @@ module Legion::Extensions::Tasker::Runners
26
27
  task_id: task.values[:id]
27
28
  # results: task.values[:payload]
28
29
  )
29
- log.debug 'publishing task'
30
30
  subtask.publish
31
31
  task.update(status: 'conditioner.queued')
32
32
  tasks_pushed.push(task.values[:id])
@@ -43,7 +43,6 @@ module Legion::Extensions::Tasker::Runners
43
43
  end
44
44
 
45
45
  def push(**_opts)
46
- log.debug 'push has been called'
47
46
  Legion::Extensions::Tasker::Transport::Messages::FetchDelayed.new.publish
48
47
  { success: true }
49
48
  end
@@ -1,7 +1,7 @@
1
1
  module Legion
2
2
  module Extensions
3
3
  module Tasker
4
- VERSION = '0.1.2'.freeze
4
+ VERSION = '0.1.3'.freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lex-tasker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miverson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-14 00:00:00.000000000 Z
11
+ date: 2020-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler