Page MenuHomeDevCentral

Initialize broker and notifications
ClosedPublic

Authored by dereckson on Nov 17 2017, 03:13.
Tags
None
Referenced Files
F3952615: D1227.id3153.diff
Sun, Dec 29, 14:46
Unknown Object (File)
Tue, Dec 24, 09:23
Unknown Object (File)
Sun, Dec 22, 18:29
Unknown Object (File)
Sun, Dec 22, 09:07
Unknown Object (File)
Sat, Dec 14, 03:10
Unknown Object (File)
Sat, Dec 14, 02:00
Unknown Object (File)
Thu, Dec 5, 05:36
Unknown Object (File)
Sun, Dec 1, 02:18
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.