Commit Graph

20 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 7551b4e7a3
Need to update to Go 1.17 because of gopackage/ddp dependency (#1611) 2021-10-17 00:35:44 +02:00
Wim 110b6a1431
Build static binaries on github 2021-10-14 15:20:58 +02:00
Wim 400ecfb79c
Update github actions to go1.17 and increase deadline (#1573) 2021-08-22 23:33:58 +02:00
Wim 4e11e29f70
Use go1.16 as binary builder. Remove go1.14 (#1407) 2021-02-17 21:37:14 +01:00
Qais Patankar 668e7407e6
Change workflow from go 1.16.0-rc1 to go 1.16.x (#1406) 2021-02-17 21:14:21 +01:00
Wim e24f7f5151
Add go 1.16.0-rc1 to github workflow (#1386) 2021-02-02 00:05:12 +01:00
Wim 491fe35397 Update workflow builds to go 1.15 2020-08-21 00:29:59 +02:00
Wim 2a41abb3d1 Update linter config 2020-07-26 15:05:52 +02:00
Wim 2977a5957e Update README 2020-06-28 19:02:28 +02:00
Wim f70d1c897a Set fetch-depth to 0 to fetch all tags 2020-06-28 18:30:18 +02:00
Wim a4a3525265 Set fetch-depth correct and use vendor when building in workflow 2020-06-28 18:23:46 +02:00
Wim a6dd8446e4 Increase fetch depth in workflow 2020-06-28 18:17:26 +02:00
Wim 7bf9e1cfb3 Fix space in workflow 2020-06-28 18:13:50 +02:00
Wim f291832a77 Upload artifacts on commit 2020-06-28 18:11:02 +02:00
Wim 5636992446 Increase fetch-depth in workflow 2020-06-24 23:37:02 +02:00
Wim f996a2b7ae More linting fixes 2020-06-24 23:28:41 +02:00
Wim 587de96ab3 Update golangci-lint config 2020-06-24 23:21:15 +02:00
Wim 80eb1cd202 Fix duplicate name in workflow 2020-06-24 22:37:46 +02:00
Wim bbf594c815 Use github workflows 2020-06-24 22:36:47 +02:00