Skip to main content

purge_old

AsyncMethod
This is a method of the OutboundDeliveryProtocol class in the protocols module.
Remove old sent messages.

Signature

Parameters

int
default:"86400 * 7"
Age threshold for removal

Returns

int
Number of messages purged

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1556