Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Commit

Permalink
30 minute job timeouts, cpu_count()*2 jobs
Browse files Browse the repository at this point in the history
These defaults should be a better match for EC2.
  • Loading branch information
NelsonMinar committed Jan 19, 2015
1 parent 748cf22 commit 17da307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openaddr/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
### Configuration variables

### After this many seconds, a job will be killed with SIGALRM
global_job_timeout = 150*60
global_job_timeout = 30*60

### Seconds between job queue status updates
report_interval = 60

### Number of jobs to run at once
thread_count = multiprocessing.cpu_count()
thread_count = multiprocessing.cpu_count() * 2

# Global variables used to manage killing the pool
pool = None
Expand Down

0 comments on commit 17da307

Please sign in to comment.