Page MenuHomeDevCentral

D111.id268.diff
No OneTemporary

D111.id268.diff

Index: Wearg/Broker.tcl
===================================================================
--- Wearg/Broker.tcl
+++ Wearg/Broker.tcl
@@ -29,7 +29,13 @@
}
proc on_tick {} {
- get_messages
+ if {[expr [clock seconds] % 300 > 0]} {
+ # We generally want to get messages, but not
+ # when the SIGCHLD signal is sent to the bot
+ # which seems to be every five minutes.
+
+ get_messages
+ }
utimer 1 [namespace current]::on_tick
}

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 1, 05:38 (21 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2274144
Default Alt Text
D111.id268.diff (602 B)

Event Timeline