• Resolved MEMT-NETWORK

    (@memt-network)


    First, Great plugin thank you for that! However i’m having an issue in de wp database. It gets extremely hughe after a couple days its 2 GB! I already empty the log, but its already back at 563MB as you can see; and in the actionsheduler_action its caused by this plugin

    Is it possible to clean logs, so the the performance stays on top.

    wp_actionscheduler_logs
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter MEMT-NETWORK

    (@memt-network)

    above is the action_action db

    Plugin Author Reüel

    (@pronamic_reuel)

    By default, the action scheduler deletes all completed and cancelled after 31 days. If you want to lower this period, you can use the filter action_scheduler_retention_period to set a retention period (in seconds).

    For further details, please refer to the Action Scheduler source code at https://github.com/woocommerce/action-scheduler/blob/90b98e6fe97d455679b1d288f050cad8f6f79771/classes/ActionScheduler_QueueCleaner.php#L50-L61

    Thread Starter MEMT-NETWORK

    (@memt-network)

    Okay, thank you for your imput. let me check out. Is it for some reason important to have it at 31 days?

    As the database grows to GB’s if we let it like this.

    Plugin Author Reüel

    (@pronamic_reuel)

    Action Scheduler is a third-party library for background task scheduling and processing. The logs help with debugging if issues arise, but the 31-day retention period is simply the default. The rate at which the logs grow depends on the number of payments and subscriptions and can vary by website. You can adjust this period as needed—it has no specific impact on our plugin’s functionality.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.