parameters: ()
docstring: Sets options turned on by switch '-o'
docstring_summary: Sets options turned on by switch '-o'
docstring_tokens: Sets options turned on by switch - o
function: def setOptimize():
      """
      Sets options turned on by switch '-o'
      """
  
      #conf.predictOutput = True
      conf.keepAlive = True
      conf.threads = 3 if conf.threads < 3 else conf.threads
      conf.nullConnection = not any((conf.data, conf.textOnly, conf.titles, conf.string, conf.notString, conf.regexp, conf.tor))
  
      if not conf.nullConnection:
          debugMsg = "turning off --null-connection switch used indirectly by switch -o"
          logger.debug(debugMsg)
function_tokens: def setOptimize ( ) : #conf.predictOutput = True conf . keepAlive = True conf . threads = 3 if conf . threads < 3 else conf . threads conf . nullConnection = not any ( ( conf . data , conf . textOnly , conf . titles , conf . string , conf . notString , conf . regexp , conf . tor ) ) if not conf . nullConnection : debugMsg = "turning off --null-connection switch used indirectly by switch -o" logger . debug ( debugMsg )