Skip to content

Commit

Permalink
Increase the interval for fetch_user_notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
melroy89 authored Oct 2, 2024
1 parent fc86914 commit 372c128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/controllers/notifications_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default class extends Controller {
if (typeof data.messages === "number") {
this.setMessageCount(data.messages)
}
window.setTimeout(() => this.fetchAndSetNewNotificationAndMessageCount(), 10 * 1000)
window.setTimeout(() => this.fetchAndSetNewNotificationAndMessageCount(), 30 * 1000)
})
}

Expand Down

0 comments on commit 372c128

Please sign in to comment.