Send and receive SMS messages using your Android phone programmatically via a simple HTTP API
Add more retry attempts
Acho Arnold8fa8b35c834f
diff --git a/api/pkg/repositories/repository.go b/api/pkg/repositories/repository.goindex c63d3fbb..4a3e90dc 100644--- a/api/pkg/repositories/repository.go+++ b/api/pkg/repositories/repository.go@@ -36,7 +36,7 @@ func isRetryableError(err error) bool {func executeWithRetry(fn func() error) (err error) {return retry.New(retry.LastErrorOnly(true),- retry.Attempts(3),+ retry.Attempts(5),retry.Delay(100*time.Millisecond),retry.RetryIf(isRetryableError),).Do(fn)diff --git a/web/pages/messages/index.vue b/web/pages/messages/index.vueindex bdc21e37..62fccf85 100644--- a/web/pages/messages/index.vue+++ b/web/pages/messages/index.vue@@ -45,7 +45,7 @@outlinedrows="2"class="mb-8"- hint="Your message will be sent as an MMS when the comma separated list of attachment URL's are present"+ hint="The message will be sent as an MMS when a comma separated list of attachment URLs are present"placeholder="https://example.com/image.jpg, https://example.com/video.mp4"label="Attachment URLs (optional)"></v-textarea>