Skip to content

Commit 8fa8b35

Browse files
committed
Add more retry attempts
1 parent 1c34023 commit 8fa8b35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

api/pkg/repositories/repository.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func isRetryableError(err error) bool {
3636
func executeWithRetry(fn func() error) (err error) {
3737
return retry.New(
3838
retry.LastErrorOnly(true),
39-
retry.Attempts(3),
39+
retry.Attempts(5),
4040
retry.Delay(100*time.Millisecond),
4141
retry.RetryIf(isRetryableError),
4242
).Do(fn)

web/pages/messages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
outlined
4646
rows="2"
4747
class="mb-8"
48-
hint="Your message will be sent as an MMS when the comma separated list of attachment URL's are present"
48+
hint="The message will be sent as an MMS when a comma separated list of attachment URLs are present"
4949
placeholder="https://example.com/image.jpg, https://example.com/video.mp4"
5050
label="Attachment URLs (optional)"
5151
></v-textarea>

0 commit comments

Comments
 (0)