mirror of
https://github.com/hibiken/asynq.git
synced 2026-04-26 15:35:55 +03:00
[GH-ISSUE #974] [BUG] register same type task but it excute once ,when try several times it was no excute!! #1482
Labels
No labels
CLI
bug
designing
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
idea
invalid
investigate
needs-more-info
performance
pr-welcome
pull-request
question
wontfix
work in progress
work in progress
work-around-available
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynq#1482
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Godhanhn on GitHub (Nov 22, 2024).
Original GitHub issue: https://github.com/hibiken/asynq/issues/974
Originally assigned to: @hibiken, @kamikazechaser on GitHub.
Describe the bug
register same type task but excute once ,when try several times it was no excute!!
Environment (please complete the following information):
asynqpackage version [e.g. v0.24.1]t.Run("test settle activity task payload", func(t *testing.T) {
func registerSettleActivityTaskImpl(payLoad *settle.SettleActivityTaskPayload) bool {
t1, err := NewSettleActivityTask(payLoad)
if err != nil {
prome.Incr(code.ServiceTaskQueue, fmt.Sprintf("task_create_failed_activity_%d_season_%d_server_%d", payLoad.ActivityId, payLoad.SeasonId, payLoad.ServerId))
logger.BaseWarnLog("could not create task:", err.Error(), payLoad)
return false
}
}
@Godhanhn commented on GitHub (Nov 26, 2024):
Logger:
Task Info
ID:
99a9ebbb-cf1a-4e29-868f-3dcd286c37ae
Type:
activity_settle
State:
archived
Queue:
default
Retry:
3/3
Last Failure:
handler not found for task "activity_settle" (2024-11-25T13:33:03Z)
Next Process Time:
Timeout:
1800 seconds
Deadline:
Payload:
{
"activityId": 1,
"rankId": 1,
"gId": 0,
"seasonId": 461,
"serverId": 30001
}
@Godhanhn commented on GitHub (Nov 26, 2024):
it was solved! There is another server here that is also consuming, which makes me mistake for thinking that it is not executing it.