Introduces the time_sync object which can sync
time with an external time service (like the time_sync
service in notigen).
This is used for playback of old events. It prevents
premature expiry triggers.
Also some tweaks to the UsageHandler, work in progress
and used for testing.
Change-Id: I45033fbd9c12d98f96816a4f90cf7dc8c915ef51
Allows for per-trigger-definition debugging. Simply add
debug_level=1 to your trigger definition.
debug_level=2 gives detailed explainations of why your
stream didn't fire or trigger.
This way, you can leave the overall debug level at INFO
and still get details on the stream you're working on.
Yagi worker now uses idle() callback for debug updates.
and minor cleanups for pep8/HACKING
Change-Id: Id0af7a0adbcc47335ad250130958932c708b5c18