Skip to content

Commit

Permalink
chore(cu): re-adjust dry-run default max age to be 100ms #984
Browse files Browse the repository at this point in the history
  • Loading branch information
TillaTheHun0 committed Sep 17, 2024
1 parent 54fecc5 commit c038a31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions servers/cu/src/domain/api/dryRun.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { loadModuleWith } from '../lib/loadModule.js'
import { mapFrom } from '../utils.js'
import { readStateWith } from './readState.js'

const DEFAULT_MAX_PROCESS_AGE = 2000
const DEFAULT_MAX_PROCESS_AGE = 100
/**
* TODO: should this be an effect or shared util?
* just keeping here for sake of locality for now
Expand Down Expand Up @@ -135,7 +135,7 @@ export function dryRunWith (env) {
* the overhead of maintaining the map, timers, for the specified
* age
*/
readStateCache.set(res.id, cached, 4000)
readStateCache.set(res.id, cached, 2000)
return res
}),
Resolved
Expand Down

0 comments on commit c038a31

Please sign in to comment.