Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tap_facebook/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,8 +693,7 @@ def run_job(self, params):
'This is an intermittent error and may resolve itself on subsequent queries to the Facebook API. ' +
'You should deselect fields from the schema that are not necessary, ' +
'as that may help improve the reliability of the Facebook API.')
raise InsightsJobTimeout(pretty_error_message.format(job_id,
INSIGHTS_MAX_WAIT_TO_FINISH_SECONDS//60))
raise InsightsJobTimeout(pretty_error_message.format(job_id, INSIGHTS_MAX_WAIT_TO_FINISH_SECONDS))

LOGGER.info("sleeping for %d seconds until job is done", sleep_time)
time.sleep(sleep_time)
Expand Down