Resolve backend Qodana critical and high findings (#314)
Resolve recommended-profile Critical and High findings, retain narrow analyzer exceptions, and update the edge-broker WebSocket dependency to a non-vulnerable release.
This commit is contained in:
@@ -427,7 +427,7 @@ it('uses a short exact-image result cache before calling Plate Recognizer', func
|
||||
expect($source)->toContain('RESULT_CACHE_TTL_SECONDS = 10');
|
||||
expect($source)->toContain('RESULT_CACHE_REDIS_KEY_PREFIX');
|
||||
expect($source)->toContain('$cached_result = $this->readRecognitionResultCache($result_cache, $result_cache_key);');
|
||||
expect($source)->toContain('return $cached_result;');
|
||||
expect($source)->toContain('return $this->completeRecognition($started_at, $cached_result);');
|
||||
expect($source)->toContain('$this->writeRecognitionResultCache($result_cache, $result_cache_key, $recognized_result);');
|
||||
expect($source)->toContain('$this->last_timings[\'cache\']');
|
||||
expect($source)->toContain('$this->last_timings[\'cache_hit\'] = 1;');
|
||||
|
||||
Reference in New Issue
Block a user