Page MenuHomeDevCentral

Initialize broker and notifications
ClosedPublic

Authored by dereckson on Nov 17 2017, 03:13.
Tags
None
Referenced Files
F3114142: D1227.id.diff
Mon, Jun 17, 07:05
F3110109: D1227.id3153.diff
Sun, Jun 16, 14:15
Unknown Object (File)
Sat, Jun 15, 13:13
Unknown Object (File)
Sat, Jun 15, 12:00
Unknown Object (File)
Fri, Jun 14, 11:53
Unknown Object (File)
Fri, Jun 14, 08:23
Unknown Object (File)
Fri, Jun 14, 07:16
Unknown Object (File)
Thu, Jun 13, 02:40
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.