diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-17 15:30:26 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-17 15:30:26 +0900 |
| commit | 68571d8f577e0a9eb8679e8dd30e11d8b1709340 (patch) | |
| tree | 623ad0865b76cdb8a4551042530655ef7c22c754 /src/const.ts | |
| parent | Improve client (diff) | |
| download | misskey-68571d8f577e0a9eb8679e8dd30e11d8b1709340.tar.gz misskey-68571d8f577e0a9eb8679e8dd30e11d8b1709340.tar.bz2 misskey-68571d8f577e0a9eb8679e8dd30e11d8b1709340.zip | |
Implement user online status
Resolve #7422
Fix #7424
Diffstat (limited to 'src/const.ts')
| -rw-r--r-- | src/const.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/const.ts b/src/const.ts new file mode 100644 index 0000000000..43f59f1e4f --- /dev/null +++ b/src/const.ts @@ -0,0 +1,2 @@ +export const USER_ONLINE_THRESHOLD = 1000 * 60 * 10; // 10min +export const USER_ACTIVE_THRESHOLD = 1000 * 60 * 60 * 24 * 3; // 3days |