mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
perf(repo): parallelise api tests and cache image builds in ghcr (#1984)
This commit is contained in:
@@ -180,6 +180,15 @@ export class ProfileSubstringBlocklistCache {
|
||||
return !!canonical && this.getMatchersForCheck(scope).some((matchers) => matchers.rawSet.has(canonical));
|
||||
}
|
||||
|
||||
resetForTesting(): void {
|
||||
this.shutdown();
|
||||
this.byScope = new Map();
|
||||
this.kvClient = null;
|
||||
this.subscriberInitialized = false;
|
||||
this.consecutiveFailures = 0;
|
||||
this.isInitialized = false;
|
||||
}
|
||||
|
||||
shutdown(): void {
|
||||
if (this.kvSubscription && this.messageHandler) {
|
||||
this.kvSubscription.off('message', this.messageHandler);
|
||||
|
||||
Reference in New Issue
Block a user