• Resolved jeroenimo02

    (@jeroenimo02)


    Hi there,

    When I change the option “Action Scheduler Batch Size” to any value it seems like that value is not even being used.

    When I set it to a value of 5 I still see in the action scheduler that it creates batches of 100.
    So it seems to ignore this option.

    Is this a bug or am I doing something wrong here?

    Option: https://prnt.sc/lw0o0HMhSXup
    Inside the action scheduler: https://prnt.sc/F7rOjTVICRQU

Viewing 1 replies (of 1 total)
  • Plugin Support markilj

    (@markilj)

    Thank you for contacting us.

    Sorry for the confusion.
    The Action Scheduler Batch size option is an option for the action scheduler to lower the processed data at a time.
    It will not directly lower the size of the data batched by our plugin.
    May I know why are you trying to lower the batch size? are you encountering failed actions?

    If you want you can lower the batch sizes of the rebuilds to lessen the resources needed for one action.
    you can add this to a code snippet plugin or theme’s functions.php, just adjust the numbers to the desired values.

    add_filter( ‘ILJ_FILTER_BUILDING_BATCH_SIZE’, function( $building_batch_size) {
    return 250;
    });

    add_filter( ‘ILJ_FILTER_FETCH_BATCH_KEYWORD_SIZE’, function( $fetch_batch_keyword_size) {
    return 50;
    });

    add_filter( ‘ILJ_FILTER_BATCH_SIZE’, function( $batch_size ) {
    return 50;
    });

    Let us know how it goes. You can still lower these numbers if you still encounter some issues.

    If the issue persists let us know.

    Thank you

Viewing 1 replies (of 1 total)
  • The topic ‘Action Scheduler Batch Size not working’ is closed to new replies.