]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/real-world/real-world.ts
Don't stuck on active jobs
[github/Chocobozzz/PeerTube.git] / server / tests / real-world / real-world.ts
index 7f67525ed5cba9a62f26154c125f784349047e40..f10ca856de7f5a85ea33ce70d56eb9f41f715672 100644 (file)
@@ -347,7 +347,7 @@ function goodbye () {
 }
 
 async function isTherePendingRequests (servers: ServerInfo[]) {
-  const states: JobState[] = [ 'inactive', 'active' ]
+  const states: JobState[] = [ 'inactive', 'active', 'delayed' ]
   const tasks: Promise<any>[] = []
   let pendingRequests = false