Skip to content

Commit 955b7c5

Browse files
committed
fix throttle
1 parent 97310a4 commit 955b7c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/smexperiments/experiment.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,11 @@ def delete_all(self, action):
259259
trial_component_name=trial_component_summary.trial_component_name,
260260
)
261261
tc.delete(force_disassociate=True)
262-
t.remove_trial_component(tc)
263262
# to prevent throttling
264-
time.sleep(0.2)
263+
time.sleep(1.2)
265264
t.delete()
265+
# to prevent throttling
266+
time.sleep(1.2)
266267
self.delete()
267268
break
268269
except Exception as ex:

0 commit comments

Comments
 (0)