File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ Apify.main(async () => {
66
66
maxConcurrency : maxConcurrentDomainsChecked ,
67
67
requestList,
68
68
handleRequestFunction : async ( { request } ) => {
69
- const { uniqueKey , userData } = request ;
69
+ const { userData } = request ;
70
70
/** @type {{ actorInput: import('../../common/types').PreparedActorConfig } } */
71
71
// @ts -expect-error JS-style casting
72
72
const { actorInput } = userData ;
@@ -83,13 +83,16 @@ Apify.main(async () => {
83
83
) ;
84
84
log . info ( `You can monitor the status of the run by going to https://console.apify.com/actors/runs/${ result . id } ` ) ;
85
85
actorInput . runId = result . id ;
86
- // TODO(vladfrangu): remove this once I confirm the value is updated, so we don't restart runs for no reason
87
- console . log ( state . runConfigurations [ Number ( uniqueKey ) ] ) ;
86
+
87
+ // Save the state now
88
+ // TODO(vladfrangu): ask Lukas if this is needed
89
+ await Apify . setValue ( 'STATE' , state ) ;
88
90
}
89
91
90
92
// Wait for the run to finish
91
93
await waitForRunToFinishAndPushData ( actorInput ) ;
92
94
} ,
95
+ handleRequestTimeoutSecs : Number . MAX_SAFE_INTEGER ,
93
96
} ) ;
94
97
95
98
// Run the checker
You can’t perform that action at this time.
0 commit comments