Skip to content

Commit f57eadb

Browse files
committed
chore: remove debugging lines
1 parent 6ec02c8 commit f57eadb

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

shard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: placeos-driver
2-
version: 7.17.4
2+
version: 7.17.5
33

44
dependencies:
55
action-controller:

src/placeos-driver/subscriptions.cr

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ class PlaceOS::Driver
126126
max_interval: 5.seconds,
127127
randomise: 500.milliseconds
128128
) do
129-
puts "\n\nSTART SUBSCRIPTION MONITORING\n\n"
130129
return if terminated?
131130
monitor_count += 1
132131
subscribe_count = monitor_count
@@ -141,7 +140,6 @@ class PlaceOS::Driver
141140
# NOTE:: sending an empty array errors
142141
keys = mutex.synchronize { subscriptions.keys }
143142
if keys.size > 0
144-
puts "\n\nFOUND #{keys.size} EXISTING SUBSCRIPTIONS\n\n"
145143
redis.subscribe(keys)
146144
end
147145

@@ -181,22 +179,17 @@ class PlaceOS::Driver
181179
spawn(same_thread: true) do
182180
instance = monitor_count
183181
wait.close
184-
puts "\n\n\nNEW SUBSCRIPTION LOOP!!!! #{monitor_count}\n\n\n"
185182
loop do
186183
sleep 1.second
187-
puts "PING SUBSCRIPTION REDIS: #{monitor_count} == #{instance}"
188184
break if instance != monitor_count
189185
subscription_channel.send({true, SYSTEM_ORDER_UPDATE})
190-
rescue error
191-
puts "\n\nERROR PINGING REDIS: #{error.inspect_with_backtrace}\n\n"
192186
end
193187
end
194188
end
195189

196190
raise "no subscriptions, restarting loop" unless terminated?
197191
rescue e
198192
Log.warn(exception: e) { "redis subscription loop exited" }
199-
puts "\n\nERROR SUBSCRIPTION MONITORING: #{e.message}\n\n"
200193
raise e
201194
ensure
202195
wait.close

0 commit comments

Comments
 (0)