Page MenuHomeDevCentral

Initialize broker and notifications
ClosedPublic

Authored by dereckson on Nov 17 2017, 03:13.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 00:08
Unknown Object (File)
Sat, Nov 16, 06:50
Unknown Object (File)
Mon, Nov 11, 08:34
Unknown Object (File)
Mon, Nov 11, 01:29
Unknown Object (File)
Sat, Nov 9, 08:01
Unknown Object (File)
Mon, Nov 4, 07:39
Unknown Object (File)
Sat, Nov 2, 13:51
Unknown Object (File)
Thu, Oct 31, 04:59
Subscribers
None

Details

Summary

After 90 seconds, enough to allow the egg to connect to Freenode
and join every channel, load first the broker, then the notifications
code (the notifications code depends of the broker).

This responsibility was previously for the configuration file.

It's more convenient to move this part to the application code,
especially as the bot-specific configuration file is now standardized.

Ref T1309

Test Plan

Restart Wearg, check it connects to broker

Diff Detail

Repository
rVIPER ViperServ scripts
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Nov 17 2017, 03:13
dereckson added inline comments.
Wearg/Time.tcl
8

03:28 <wearg> [03:28:50] Tcl error [dcc:source]: formal parameter "()" is an array element

dereckson marked an inline comment as done.

Fix proc syntax error

This revision is now accepted and ready to land.Nov 17 2017, 03:30
03:29 <dereckson> .tcl mq connected
03:29 <wearg> Tcl error: invalid command name "mq"
03:29 <dereckson> .tcl onload
03:29 <wearg> Tcl: {* * * * ::notifications::channel_notify} {DockerHub * * * ::notifications::docker_build_summary}
03:29 <dereckson> .tcl mq connected
03:29 <wearg> Tcl: 1
This revision was automatically updated to reflect the committed changes.