Skip to content

Conversation

@jessarcher
Copy link
Member

No description provided.

@jessarcher jessarcher mentioned this pull request Nov 19, 2025
Comment on lines +61 to +63
'_group' => $repeatSeconds > 0
? hash('xxh128', "{$name},{$event->task->expression},{$timezone},{$repeatSeconds}")
: hash('xxh128', "{$name},{$event->task->expression},{$timezone}"),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will mean that existing sub-minute tasks will end up with a new group and appear duplicated until the old ones fall out of range. The newer records will appear different because they will display the sub-minute frequency, while the older records will still appear as though they are not sub-minute.

The alternative is to continue not include the repeat seconds in the group, but that would mean separate tasks would get grouped together if the same task has a subminute frequency and a non-subminute frequency that is otherwise the same, which is unlikely.

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 this pull request may close these issues.

2 participants