You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Godhanhn
changed the title
[BUG] register same type task but excute once ,when try several times it was no excute!!
[BUG] register same type task but it excute once ,when try several times it was no excute!!
Nov 22, 2024
Describe the bug
register same type task but excute once ,when try several times it was no excute!!
Environment (please complete the following information):
asynq
package 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
}
}
The text was updated successfully, but these errors were encountered: