Skip to content

Commit 020e463

Browse files
committed
DEBUG: reduce waiting times
1 parent fc5bae6 commit 020e463

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/actions/bot.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ export function setShowOverlay(showOverlay: boolean): Action {
8787
export const navigateToFlatPage =
8888
(flatId: string) => async (dispatch: Dispatch) => {
8989
logger.trace('navigateToFlatPage');
90-
await sleep(10000);
90+
await sleep(1000);
9191
dispatch(setBotIsActing(true));
9292
dispatch(setBotMessage(`Wohnung ${flatId} suchen...`));
9393
dispatch(setShowOverlay(false));
9494
await dispatch(scrollIntoViewAction('puppet', entrySelector(flatId)));
9595
dispatch(calculateOverviewBoundingBoxes());
9696
dispatch(setShowOverlay(true));
97-
await sleep(5000);
97+
await sleep(1000);
9898
dispatch(setShowOverlay(false));
9999
dispatch(setBotMessage(`Wohnung ${flatId} genauer anschauen!`));
100100
const puppetView = new ElectronUtils(

app/middleware/bot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export default (store: Store & { dispatch: Dispatch }) =>
117117
);
118118
await store.dispatch(getOverviewData());
119119
await store.dispatch(refreshVerdicts());
120-
await sleep(20000);
120+
await sleep(2000);
121121
store.dispatch(launchNextTask());
122122
}
123123

0 commit comments

Comments
 (0)