We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d65d96 commit acb2abeCopy full SHA for acb2abe
packages/apify/src/charging.ts
@@ -27,6 +27,9 @@ export class ChargingManager {
27
28
constructor(configuration: Configuration, apifyClient: ApifyClient) {
29
this.maxTotalChargeUsd = configuration.get('maxTotalChargeUsd') ?? Infinity;
30
+ if (typeof this.maxTotalChargeUsd === 'string') { // TODO workaround for incorrect Configuration class behavior
31
+ this.maxTotalChargeUsd = Infinity;
32
+ }
33
this.isAtHome = configuration.get('isAtHome');
34
this.actorRunId = configuration.get('actorRunId');
35
this.purgeChargingLogDataset = configuration.get('purgeOnStart');
0 commit comments