RequestNetwork / public-issues

A repository for storing public tasks
0 stars 0 forks source link

Fix timeout behavior in the browser quickstarts #38

Open MantisClone opened 2 weeks ago

MantisClone commented 2 weeks ago

Problem

When the quickstart times out when creating a request it displays this message

Error: Transaction confirmation not received. Try polling getTransactionsByChannelId() until the transaction is confirmed.
        deferDelay: 3000ms,
        maxRetries: 30,
        retryDelay: 1000ms,
        exponentialBackoffDelay: 0ms,
        maxExponentialBackoffDelay: 30000ms

Image

Proposed Solution

Add a button that allows the user to "continue waiting" when a timeout occurs.

Bandaid fix

Increase the timeout from 30 seconds to something longer like 2 minutes

Definition of Done