Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #322 from superfaceai/chore/increase-polling-timeout
Browse files Browse the repository at this point in the history
chore: increase polling timeout
  • Loading branch information
Jakub-Vacek authored Jul 11, 2023
2 parents 7f7a33b + 2da6e39 commit ae107c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/common/polling.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import type { ServiceClient } from '@superfaceai/service-client';

import type { UserError } from './error';
// import type { ILogger } from './log';
import type { UX } from './ux';

// TODO: timeout must be way longer than 60 seconds, because of the time it takes to build the provider
export const DEFAULT_POLLING_TIMEOUT_SECONDS = 60;
export const DEFAULT_POLLING_TIMEOUT_SECONDS = 300;
export const DEFAULT_POLLING_INTERVAL_SECONDS = 1;

enum PollStatus {
Expand Down

0 comments on commit ae107c2

Please sign in to comment.