Celery v5.0.1 DocumentationA regression caused Control-c to be ineffective for shutdown. Redis result backend: Now using a pipeline to store state changes for improved performance. Contributed by Pepijn de Vos. Redis result backend: ensure(self._set, (key, value), **retry_policy) def _set(self, key, value): with self.client.pipeline() as pipe: if self.expires: pipe.setex(key, self.expires, value) state) encoded = self.encode([1, tid, state, result]) with client.pipeline() as pipe: pipeline = ( pipe.zadd(jkey, {encoded: group_index}).zcount(jkey, "- inf"0 码力 | 2313 页 | 2.13 MB | 1 年前3
Celery v5.0.2 DocumentationA regression caused Control-c to be ineffective for shutdown. Redis result backend: Now using a pipeline to store state changes for improved performance. Contributed by Pepijn de Vos. Redis result backend: ensure(self._set, (key, value), **retry_policy) def _set(self, key, value): with self.client.pipeline() as pipe: if self.expires: pipe.setex(key, self.expires, value) state) encoded = self.encode([1, tid, state, result]) with client.pipeline() as pipe: pipeline = ( pipe.zadd(jkey, {encoded: group_index}).zcount(jkey, "- inf"0 码力 | 2313 页 | 2.14 MB | 1 年前3
Celery v5.0.0 DocumentationA regression caused Control-c to be ineffective for shutdown. Redis result backend: Now using a pipeline to store state changes for improved performance. Contributed by Pepijn de Vos. Redis result backend: ensure(self._set, (key, value), **retry_policy) def _set(self, key, value): with self.client.pipeline() as pipe: if self.expires: pipe.setex(key, self.expires, value) state) encoded = self.encode([1, tid, state, result]) with client.pipeline() as pipe: pipeline = ( pipe.zadd(jkey, {encoded: group_index}).zcount(jkey, "- inf"0 码力 | 2309 页 | 2.13 MB | 1 年前3
Celery v5.0.5 DocumentationA regression caused Control-c to be ineffective for shutdown. Redis result backend: Now using a pipeline to store state changes for improved performance. Contributed by Pepijn de Vos. Redis result backend: ensure(self._set, (key, value), **retry_policy) def _set(self, key, value): with self.client.pipeline() as pipe: if self.expires: pipe.setex(key, self.expires, value) state) encoded = self.encode([1, tid, state, result]) with client.pipeline() as pipe: pipeline = ( pipe.zadd(jkey, {encoded: group_index}).zcount(jkey, "- inf"0 码力 | 2315 页 | 2.14 MB | 1 年前3
Celery 3.0 DocumentationA regression caused Control-c to be ineffective for shutdown. Redis result backend: Now using a pipeline to store state changes for improved performance. Contributed by Pepijn de Vos. Redis result backend: ensure(self._set, (key, value), **retry_policy) def _set(self, key, value): with self.client.pipeline() as pipe: if self.expires: pipe.setex(key, self.expires, value) get_key_for_group(gid, '.t') result = self.encode_result(result, state) with client.pipeline() as pipe: _, readycount, totaldiff, _, _ = pipe \0 码力 | 2110 页 | 2.23 MB | 1 年前3
Celery v4.0.0 DocumentationA regression caused Control-c to be ineffective for shutdown. Redis result backend: Now using a pipeline to store state changes for improved performance. Contributed by Pepijn de Vos. Redis result backend: ensure(self._set, (key, value), **retry_policy) def _set(self, key, value): with self.client.pipeline() as pipe: if self.expires: pipe.setex(key, self.expires, value) get_key_for_group(gid, '.t') result = self.encode_result(result, state) with client.pipeline() as pipe: _, readycount, totaldiff, _, _ = pipe \0 码力 | 2106 页 | 2.23 MB | 1 年前3
Celery 3.1 DocumentationA regression caused Ctrl+C to be ineffective for shutdown. • Redis result backend: Now using a pipeline to store state changes for improved performance. Contributed by Pepijn de Vos. • Redis result0 码力 | 607 页 | 2.27 MB | 1 年前3
Celery 3.1 Documentation: A regression caused Ctrl+C to be ineffective for shutdown. Redis result backend: Now using a pipeline to store state changes for improved performance. Contributed by Pepijn de Vos. Redis result backend:0 码力 | 887 页 | 1.22 MB | 1 年前3
Celery 3.0 Documentationregression caused Control-c to be ineffective for shutdown. • Redis result backend: Now using a pipeline to store state changes for improved performance. Contributed by Pepijn de Vos. • Redis result0 码力 | 703 页 | 2.60 MB | 1 年前3
Celery v4.0.1 DocumentationA regression caused Control-c to be ineffective for shutdown. Redis result backend: Now using a pipeline to store state changes for improved performance. Contributed by Pepijn de Vos. Redis result backend:0 码力 | 1040 页 | 1.37 MB | 1 年前3
共 37 条
- 1
- 2
- 3
- 4













