Skip to content

Commit

Permalink
Reduce delay to have messages in real time
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyNadd committed Dec 17, 2024
1 parent c125de2 commit bb495a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/dashboard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<script>
let currentChatId = null;
// This is the interval in milliseconds for the chat auto-refresh (getting messages)
let interval = 5000;
let interval = 500;
let allMessages = [];
/**
Expand Down

0 comments on commit bb495a8

Please sign in to comment.