Add a 'ping' task for every lister.
This commit is contained in:
parent
2d1f0643ff
commit
0583b0e685
6 changed files with 36 additions and 0 deletions
|
@ -17,3 +17,8 @@ def pypi_lister(self, **lister_args):
|
|||
self.log.debug('%s OK' % (self.name))
|
||||
|
||||
|
||||
@app.task(name='swh.lister.pypi.tasks.ping',
|
||||
base=SWHTask, bind=True)
|
||||
def ping(self):
|
||||
self.log.debug(self.name)
|
||||
return 'OK'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue