Use async request response API of GCDWebserver instead of the sync API + polling.
This reduces the number of idle wakeups dramatically. Before, there were 100 idle wakes per second per pending HTTP response, which made it very easy to trip the 150/sec average idle wakeup rate limit set by iOS.
Use async request response API of GCDWebserver instead of the sync API + polling.
This reduces the number of idle wakeups dramatically. Before, there were 100 idle wakes per second per pending HTTP response, which made it very easy to trip the 150/sec average idle wakeup rate limit set by iOS.