Merge branch 'master' into messaging

This commit is contained in:
chrislu
2022-07-21 23:49:51 -07:00
23 changed files with 292 additions and 121 deletions

View File

@@ -32,7 +32,7 @@ func Retry(name string, job func() error) (err error) {
return err
}
func RetryForever(name string, job func() error, onErrFn func(err error) bool) {
func RetryForever(name string, job func() error, onErrFn func(err error) (shouldContinue bool)) {
waitTime := time.Second
for {
err := job()