mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2025-06-05 21:59:23 +02:00
Start support for pruning old inbox data
This commit is contained in:
8
tasks.py
8
tasks.py
@ -181,3 +181,11 @@ def build_docker_image(ctx):
|
||||
# type: (Context) -> None
|
||||
with embed_version():
|
||||
run("docker build -t microblogpub/microblogpub .")
|
||||
|
||||
|
||||
@task
|
||||
def prune_old_data(ctx):
|
||||
# type: (Context) -> None
|
||||
from app.prune import run_prune_old_data
|
||||
|
||||
asyncio.run(run_prune_old_data())
|
||||
|
Reference in New Issue
Block a user