Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3806097
D111.id268.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
602 B
Referenced Files
None
Subscribers
None
D111.id268.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D111: Bypass message queue when it risks a collision with SIGCHLD.
Attached
Detach File
Event Timeline
Log In to Comment