Sfoglia il codice sorgente

mongodb default options removed.

fatihsucu 10 anni fa
parent
commit
772bcb832b
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      celery/backends/mongodb.py

+ 0 - 3
celery/backends/mongodb.py

@@ -78,9 +78,6 @@ class MongoBackend(BaseBackend):
 
         self.url = url
 
-        # default options
-        self.options.setdefault('max_pool_size', self.max_pool_size)
-        self.options.setdefault('auto_start_request', False)
 
         # update conf with mongo uri data, only if uri was given
         if self.url: