process doc changes using gevent