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

[ticket/13232] Use a cache var with _ to force TTL and shuffle cron tasks #3084

Merged
merged 2 commits into from
Oct 28, 2014

Conversation

naderman
Copy link
Sponsor Member

[ticket/13232] Fix more issues with TTL and global cache file
@bantu
Copy link
Collaborator

bantu commented Oct 28, 2014

Too many cron tasks are ready and the shuffle makes it likely that tne wrong one is selected for execution.

@bantu
Copy link
Collaborator

bantu commented Oct 28, 2014

Workaround:

        $this->assertNotEmpty($crawler->filter('img')->last()->attr('src'));
        self::request('GET', "cron.php?cron_type=cron.task.core.prune_shadow_topics&f={$this->data['forums']['Prune Shadow']}&sid={$this->sid}", array(), false);

The cron scheduler might pick a different task but we don't want to go
through them all to find the one we need. So we just make sure cron is
run at all and then manually run the one we want.

PHPBB3-13232
@nickvergessen nickvergessen merged commit dccbd57 into phpbb:develop-ascraeus Oct 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants