mirror of
				https://github.com/mendableai/firecrawl.git
				synced 2025-11-04 03:53:17 +00:00 
			
		
		
		
	Update job-priority.ts
This commit is contained in:
		
							parent
							
								
									1e08e6d317
								
							
						
					
					
						commit
						06b70a47e0
					
				@ -11,6 +11,8 @@ export async function addJobPriority(team_id, job_id) {
 | 
			
		||||
 | 
			
		||||
    // Add scrape job id to the set
 | 
			
		||||
    await redisConnection.sadd(setKey, job_id);
 | 
			
		||||
    await redisConnection.expire(setKey, 60);
 | 
			
		||||
 | 
			
		||||
  } catch (e) {
 | 
			
		||||
    Logger.error(`Add job priority (sadd) failed: ${team_id}, ${job_id}`);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user