sending duration wait resumes is not an error anymore

This commit is contained in:
nicktrn
2024-04-24 14:19:17 +01:00
parent f08ceb39ae
commit d286642bf8
@@ -91,12 +91,11 @@ export class ResumeAttemptService extends BaseService {
switch (params.type) {
case "WAIT_FOR_DURATION": {
logger.error(
"Attempt requested resume after duration wait, this is unexpected and likely a bug",
{ attemptId: attempt.id }
);
logger.debug("Sending duration wait resume message", {
attemptId: attempt.id,
attemptFriendlyId: params.attemptFriendlyId,
});
// Attempts should not request resume for duration waits, this is just here as a backup
socketIo.coordinatorNamespace.emit("RESUME_AFTER_DURATION", {
version: "v1",
attemptId: attempt.id,