Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Reduce timeout to 30 seconds

Acho Arnoldb41efcb0f39e
diff --git a/api/pkg/services/emulator_push_queue.go b/api/pkg/services/emulator_push_queue.go
index 8fa8b4bb..c6c73440 100644
--- a/api/pkg/services/emulator_push_queue.go
+++ b/api/pkg/services/emulator_push_queue.go
@@ -56,7 +56,7 @@ func (queue *emulatorPushQueue) Enqueue(ctx context.Context, task *PushQueueTask
func (queue *emulatorPushQueue) push(task PushQueueTask, queueID string) func() {
return func() {
- ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
+ ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
err := requests.