Commit Graph

4 Commits

Author SHA1 Message Date
Alex Vandiver e3ffbcadd8
Add better error handling on Zulip (#1589)
* zulip: Treat unknown errors with a 10-second backoff.

An unknown error (including an unauthorized error) would fall through
with no calls to time.Sleep, resulting in hammering the server as
quickly as possible.

Add a 10-second sleep in the default error case.  The heartbeat is
left with no explicit sleep, but all other codepaths now contain one.

* version: Move version information into a separate package.

This will allow it to be accessed by other sections of the code.

* zulip: Use the matterbridge version in the user-agent.

Co-authored-by: Wim <wim@42.be>
2021-10-23 23:46:27 +02:00
Wim 66b6f9749d
Update .goreleaser.yml 2021-06-25 00:47:24 +02:00
Wim f92927eae5 Fix deprecation in goreleaser 2019-09-07 23:37:49 +02:00
Wim f92735d35d Add goreleaser.yml 2019-02-24 01:09:53 +01:00