Roxen.git / server / base_server / throttler.pike

version» Context lines:

Roxen.git/server/base_server/throttler.pike:4:   // A throttling co-ordinator. Will share bandiwdth among   // many pending requests.   //   // By Francesco Chemolli   //   // Notice: this works under the hypothesis that there's only one thread   // shuffling data (so no locking is done). This might be a wrong   // assumption. Per? Grubba?   //    - constant cvs_version="$Id: throttler.pike,v 1.12 2009/05/07 14:15:53 mast Exp $"; + constant cvs_version="$Id$";      #define DEFAULT_MINGRANT 1300   #define DEFAULT_MAXGRANT 65000      #ifdef THROTTLING_DEBUG   # undef THROTTLING_DEBUG   # define THROTTLING_DEBUG(X) report_debug("throttler: "+X+"\n")   #else   # define THROTTLING_DEBUG(X)   #endif