Skip to content

Commit

Permalink
fix(cu): linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrain99 committed Feb 10, 2025
1 parent e026d26 commit a4f9e55
Show file tree
Hide file tree
Showing 10 changed files with 472 additions and 484 deletions.
1 change: 0 additions & 1 deletion servers/cu/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export const server = pipeP(
logger('Currently Pending readState operations: %j', domain.apis.pendingReadStates())
}, config.MEM_MONITOR_INTERVAL)
memMonitor.unref()


if (config.PROCESS_MEMORY_CACHE_CHECKPOINT_INTERVAL) {
logger('Setting up Interval to Checkpoint all Processes every %s', ms(config.PROCESS_MEMORY_CACHE_CHECKPOINT_INTERVAL))
Expand Down
2 changes: 1 addition & 1 deletion servers/cu/src/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ export const createApis = async (ctx) => {
ctx.logger('Error in loadEvaluation worker while dumping evaluations', e)
throw new Error(`Error in loadEvaluation worker: ${e}`)
})
)
)
)

return { metrics, stats, pendingReadStates, readState, dryRun, readResult, readResults, readCronResults, checkpointWasmMemoryCache, healthcheck, dumpEvaluations }
Expand Down
2 changes: 0 additions & 2 deletions servers/cu/src/effects/ao-evaluation.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ export function saveEvaluationWith ({ DISABLE_PROCESS_EVALUATION_CACHE, db, logg
const statements = []

if (!DISABLE_PROCESS_EVALUATION_CACHE) {

// If we have a directory and bucket, we need to save the evaluation to the directory, not sqlite
if (EVALUATION_RESULT_DIR && EVALUATION_RESULT_BUCKET) {
statements.push({
Expand All @@ -198,7 +197,6 @@ export function saveEvaluationWith ({ DISABLE_PROCESS_EVALUATION_CACHE, db, logg
]
})
} else {

statements.push({
sql: `
INSERT OR IGNORE INTO ${EVALUATIONS_TABLE}
Expand Down
Loading

0 comments on commit a4f9e55

Please sign in to comment.