diff --git a/MyApp.ServiceInterface/QuestionServices.cs b/MyApp.ServiceInterface/QuestionServices.cs index 81c7a53..cffd11c 100644 --- a/MyApp.ServiceInterface/QuestionServices.cs +++ b/MyApp.ServiceInterface/QuestionServices.cs @@ -351,9 +351,9 @@ public async Task Any(CreateWorkerAnswer request) answerNotifier.NotifyNewAnswer(request.PostId, request.Model); - // Only add notifications for answers older than 1hr + // Only add notifications for answers older than 25hr var post = await Db.SingleByIdAsync(request.PostId); - if (post?.CreatedBy != null && DateTime.UtcNow - post.CreationDate > TimeSpan.FromHours(1)) + if (post?.CreatedBy != null && DateTime.UtcNow - post.CreationDate > TimeSpan.FromHours(25)) { var userName = appConfig.GetUserName(request.Model); var body = questions.GetModelAnswerBody(json);