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

Exception("Activity timed out.") #93

Closed
tuktukvlad opened this issue May 26, 2023 · 3 comments · Fixed by #106
Closed

Exception("Activity timed out.") #93

tuktukvlad opened this issue May 26, 2023 · 3 comments · Fixed by #106

Comments

@tuktukvlad
Copy link

tuktukvlad commented May 26, 2023

We have this exception every time on each successfull Activity finish
image
Here is our Workflow:

class SimpleWorkflow extends Workflow
{
    public function execute()
    {
        $result = yield ActivityStub::make(SimpleActivity::class);
        $result2 = yield ActivityStub::make(SimpleActivity::class);
        
        return 'workflow_' . $result . '_'. $result2;
    }
}

Here is our Activity:

class SimpleActivity extends Activity
{

    public function execute()
    {
        // Perform some work...
        return 123;
    }
}

We use Laravel 10 & Laravel Horizon with Redis Queue

@rmcdaniel
Copy link
Contributor

Does it do it if you just use ‘php artisan queue:work’ instead of horizon?

@rmcdaniel
Copy link
Contributor

@tuktukvlad I just tried using Horizon with the sample app and couldn't reproduce the issue. Can you provide any extra details or reproduction steps?

@beholdr
Copy link

beholdr commented Jul 14, 2023

I see same Exception in Waterline when start queue with max-time flag: php artisan queue:work --max-time=60
Workflow is completed already, but after queue stops/restarts, exception is showing:

SCR-20230714-pgoa

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

Successfully merging a pull request may close this issue.

3 participants