| @@ -19,9 +19,8 @@ | ||
| 19 | 19 | defined( 'ACTIVITYPUB_DISABLE_INCOMING_INTERACTIONS' ) || define( 'ACTIVITYPUB_DISABLE_INCOMING_INTERACTIONS', false ); |
| 20 | 20 | defined( 'ACTIVITYPUB_DISABLE_OUTGOING_INTERACTIONS' ) || define( 'ACTIVITYPUB_DISABLE_OUTGOING_INTERACTIONS', false ); |
| 21 | 21 | defined( 'ACTIVITYPUB_DEFAULT_OBJECT_TYPE' ) || define( 'ACTIVITYPUB_DEFAULT_OBJECT_TYPE', 'wordpress-post-format' ); |
| 22 | 22 | defined( 'ACTIVITYPUB_OUTBOX_PROCESSING_BATCH_SIZE' ) || define( 'ACTIVITYPUB_OUTBOX_PROCESSING_BATCH_SIZE', 100 ); |
| 23 | -defined( 'ACTIVITYPUB_DISTRIBUTION_MODE' ) || define( 'ACTIVITYPUB_DISTRIBUTION_MODE', false ); | |
| 24 | 23 | // Backwards compatibility: map old ACTIVITYPUB_DISABLE_SIDELOADING to ACTIVITYPUB_DISABLE_REMOTE_CACHE. |
| 25 | 24 | if ( ! defined( 'ACTIVITYPUB_DISABLE_REMOTE_CACHE' ) && defined( 'ACTIVITYPUB_DISABLE_SIDELOADING' ) ) { |
| 26 | 25 | define( 'ACTIVITYPUB_DISABLE_REMOTE_CACHE', ACTIVITYPUB_DISABLE_SIDELOADING ); |
| 27 | 26 | } |
| @@ -109,9 +108,4 @@ | ||
| 109 | 108 | * |
| 110 | 109 | * @see https://github.com/tfredrich/RestApiTutorial.com/blob/master/content/advanced/responses/retries.md |
| 111 | 110 | */ |
| 112 | 111 | define( 'ACTIVITYPUB_RETRY_ERROR_CODES', array( 408, 429, 500, 502, 503, 504 ) ); |
| 113 | - | |
| 114 | -// Default purge retention periods (in days). | |
| 115 | -define( 'ACTIVITYPUB_OUTBOX_PURGE_DAYS', 180 ); | |
| 116 | -define( 'ACTIVITYPUB_INBOX_PURGE_DAYS', 180 ); | |
| 117 | -define( 'ACTIVITYPUB_AP_POST_PURGE_DAYS', 30 ); | |