Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: placeos-driver
version: 7.17.5
version: 7.17.6

dependencies:
action-controller:
Expand Down
4 changes: 2 additions & 2 deletions src/placeos-driver/subscriptions.cr
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class PlaceOS::Driver
instance = monitor_count
wait.close
loop do
sleep 1.second
sleep 3.seconds
break if instance != monitor_count
subscription_channel.send({true, SYSTEM_ORDER_UPDATE})
end
Expand Down Expand Up @@ -288,7 +288,7 @@ class PlaceOS::Driver
@redis : Redis? = nil

protected def self.new_clustered_redis
Redis::Client.boot(ENV["REDIS_URL"]? || "redis://localhost:6379", reconnect: false)
Redis::Client.boot(ENV["REDIS_URL"]? || "redis://localhost:6379", reconnect: false, command_timeout: 10.seconds)
end

private def redis_cluster
Expand Down
Loading