Don't even try to progress post attachments

This commit is contained in:
Andrew Godwin 2023-05-15 16:59:34 -06:00
parent cec04e8ddb
commit 79e1f0da14
1 changed files with 1 additions and 6 deletions

View File

@ -8,16 +8,11 @@ from stator.models import State, StateField, StateGraph, StatorModel
class PostAttachmentStates(StateGraph):
new = State(try_interval=30000)
new = State(externally_progressed=True)
fetched = State()
new.transitions_to(fetched)
@classmethod
async def handle_new(cls, instance):
# TODO: Fetch images to our own media storage
pass
class PostAttachment(StatorModel):
"""