Support Profile Status and Profile Attributes. Auto Fetch Updates on a Heartbeat. Move Profile Image Download Checks to Cwtch #503

Merged
sarah merged 4 commits from autodownload into master 2023-04-04 21:04:02 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 7107ad1eaa - Show all commits

View File

@ -24,6 +24,7 @@ func (cr *heartbeat) Id() PluginID {
func (a heartbeat) Shutdown() {
a.breakChan <- true
a.bus.Shutdown()
}
func (a *heartbeat) run() {
@ -35,6 +36,7 @@ func (a *heartbeat) run() {
a.bus.Publish(event.NewEvent(event.Heartbeat, map[event.Field]string{}))
continue
case <-a.breakChan:
log.Debugf("shutting down heartbeat plugin")
return
}
}