class PatchedQueueWorker extends Worker

Methods

bool
memoryExceeded(int $memoryLimit)

Determine if the memory limit has been exceeded.

Details

at line 20
bool memoryExceeded(int $memoryLimit)

Determine if the memory limit has been exceeded.

This is a patched version of the original method that determines the used memory more accurately.

See: https://github.com/laravel/framework/pull/56019

Parameters

int $memoryLimit

Return Value

bool