scheduler: switch to nginx timer #111

Open
jeffkaufman opened this Issue Dec 17, 2012 · 0 comments

Projects

None yet

1 participant

Contributor

We run a scheduler thread, but we could probably use an nginx timer instead for better performance (and easier-to-reason-about code with fewer threads).

@jeffkaufman jeffkaufman pushed a commit that referenced this issue Dec 19, 2012
Jeff Kaufman rewrite driver factory: start a scheduler thread
Because we're a non-blocking server we need to run a scheduler thread or else
alerts we set might not fire.  We need to be careful to start it after we fork.

Better long term would be to use an nginx timer and avoid the extra thread;
tracking this in #111.

Fixes #55
814e0c1
@chaizhenhua chaizhenhua added a commit to chaizhenhua/ngx_pagespeed that referenced this issue Mar 27, 2013
@chaizhenhua chaizhenhua Fixed #111 scheduler: switch to nginx timer 8701e34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment