Skip to content

Commit

Permalink
fix(runs): increase sleep before closing run dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
aarthy-dk committed Nov 13, 2024
1 parent 8390a16 commit 9c2848e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testgen/ui/views/dialogs/run_profiling_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def run_profiling_dialog(project_code: str, table_group: pd.Series | None = None
style="margin-left: auto; border-radius: 4px; border: var(--button-stroked-border); padding: 8px 8px 8px 16px; color: var(--primary-color)",
)
else:
time.sleep(1)
time.sleep(2)
st.cache_data.clear()
st.rerun()

Expand Down
2 changes: 1 addition & 1 deletion testgen/ui/views/dialogs/run_tests_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def run_tests_dialog(project_code: str, test_suite: pd.Series | None = None, def
style="margin-left: auto; border-radius: 4px; border: var(--button-stroked-border); padding: 8px 8px 8px 16px; color: var(--primary-color)",
)
else:
time.sleep(1)
time.sleep(2)
st.cache_data.clear()
st.rerun()

Expand Down

0 comments on commit 9c2848e

Please sign in to comment.