Skip to content

Commit

Permalink
fix throttle
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhu0 committed Jul 30, 2020
1 parent 97310a4 commit 955b7c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/smexperiments/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,11 @@ def delete_all(self, action):
trial_component_name=trial_component_summary.trial_component_name,
)
tc.delete(force_disassociate=True)
t.remove_trial_component(tc)
# to prevent throttling
time.sleep(0.2)
time.sleep(1.2)
t.delete()
# to prevent throttling
time.sleep(1.2)
self.delete()
break
except Exception as ex:
Expand Down

0 comments on commit 955b7c5

Please sign in to comment.