- commit
- 22fd5edb712f0b9c3c4cc5cdbad54179671bec48
- parent
- 8b4b1de617979545a38e494b8c8b7d194dbad4a3
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2014-10-04 15:43
add example for a timeout based update
Diffstat
| M | laneya/server.py | 1 | + |
1 files changed, 1 insertions, 0 deletions
diff --git a/laneya/server.py b/laneya/server.py
@@ -29,6 +29,7 @@ class ServerProtocol(protocol.Protocol): 29 29 return kwargs 30 30 else: 31 31 self.broadcastUpdate(action, **kwargs) -1 32 reactor.callLater(5, self.broadcastUpdate, action, **kwargs) 32 33 return {} 33 34 34 35