                 logger.debug 'translated',
                   src: src
                   dst: res
-      Q.all _.map(_.range(4 * http.globalAgent.maxSockets * (availableTranslators.length + 1)), ->
+      Q.all _.map(_.range(averageLoad * Math.min(http.globalAgent.maxSockets, 50) * (availableTranslators.length + 1)), ->
         loo = ->
           val = keys.pop()
           if val

logger = utils.logging.newFileLogger module.filename, 'log'

http.globalAgent.maxSockets = 5

if require.main == module
  availableTranslators =

              process.stdout.write '\rskip'
              return
            else
              src = (entry.title + '\n' + entry.content)
              .replace /<br>/g, ' '
              .replace /[^0-9a-zA-Z\u4e00-\u9fa5]/g, ' '
              .trim()
              currentTranslator = round.get()
              process.stdout.write '\r'
              process.stdout.write JSON.stringify(round.status())
