Skip to content

A platform for community discussion. Free, open, simple.

Add missing export in 15e32dc1af90ceafbb8eadf2e0e5ecc59b9a7527.

Guo Xiang Tanca8d11635cea
diff --git a/plugins/discourse-presence/assets/javascripts/discourse/lib/presence.js.es6 b/plugins/discourse-presence/assets/javascripts/discourse/lib/presence.js.es6
index 7bf057fd8d8..83424e8277a 100644
--- a/plugins/discourse-presence/assets/javascripts/discourse/lib/presence.js.es6
+++ b/plugins/discourse-presence/assets/javascripts/discourse/lib/presence.js.es6
@@ -16,7 +16,7 @@ import discourseComputed from "discourse-common/utils/decorators";
// update the client-side timestamp of when client A was last seen.
// - If client A disconnects or becomes inactive, the state of client A will be
// cleaned up on client B by a scheduler that runs every TIMER_INTERVAL_MILLISECONDS
-const KEEP_ALIVE_DURATION_SECONDS = 10;
+export const KEEP_ALIVE_DURATION_SECONDS = 10;
const BUFFER_DURATION_SECONDS = KEEP_ALIVE_DURATION_SECONDS + 2;
const MESSAGE_BUS_LAST_ID = 0;