Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dispatch blocking ajax thread for 5 seconds #120

Open
nine-2-five opened this issue Jul 21, 2024 · 2 comments
Open

Dispatch blocking ajax thread for 5 seconds #120

nine-2-five opened this issue Jul 21, 2024 · 2 comments

Comments

@nine-2-five
Copy link

nine-2-five commented Jul 21, 2024

I'm running a message notification ajax call.
When running this $execution_time is always around 5 seconds, any way around it?

$start_time = microtime(true);
error_log("notification_req_ts: " . $start_time);
$this->notification_request->dispatch();
$end_time = microtime(true);
error_log("notification_req_ts_end: " . $end_time);
$execution_time = $end_time - $start_time;

error_log("starting notification task took: $execution_time");
@tobias992
Copy link

tobias992 commented Oct 9, 2024

Same here. Have you found a solution? I have been checking for hours and nothing...

@nine-2-five
Copy link
Author

Never did, hope owner sees this thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants