(self)
| 190 | ) |
| 191 | |
| 192 | def purge_messages(self): |
| 193 | with self.app.connection_for_write() as connection: |
| 194 | count = self.app.control.purge(connection=connection) |
| 195 | if count: # pragma: no cover |
| 196 | print(f"purge: Erased {count} {pluralize(count, 'message')} from the queue.\n", flush=True) |
| 197 | |
| 198 | def tasklist(self, include_builtins=True, sep='\n', int_='celery.'): |
| 199 | return sep.join( |
no test coverage detected