diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-10-13 19:25:59 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-10-13 19:25:59 +0900 |
| commit | 4f74373df3fae871331dd1577bc4a914ecc809fb (patch) | |
| tree | bd6f4d02eef6e02b10b76723b9249dd599fe0a3e /src | |
| parent | Better id (diff) | |
| download | misskey-4f74373df3fae871331dd1577bc4a914ecc809fb.tar.gz misskey-4f74373df3fae871331dd1577bc4a914ecc809fb.tar.bz2 misskey-4f74373df3fae871331dd1577bc4a914ecc809fb.zip | |
Better id
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/common/views/widgets/server.cpu-memory.vue | 2 | ||||
| -rw-r--r-- | src/client/app/desktop/views/pages/admin/admin.cpu-memory.vue | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/views/widgets/server.cpu-memory.vue b/src/client/app/common/views/widgets/server.cpu-memory.vue index 119a77af83..4a0341ddcd 100644 --- a/src/client/app/common/views/widgets/server.cpu-memory.vue +++ b/src/client/app/common/views/widgets/server.cpu-memory.vue @@ -92,7 +92,7 @@ export default Vue.extend({ this.connection.on('stats', this.onStats); this.connection.on('statsLog', this.onStatsLog); this.connection.send('requestLog', { - id: Math.random().toString() + id: Math.random().toString().substr(2, 8) }); }, beforeDestroy() { diff --git a/src/client/app/desktop/views/pages/admin/admin.cpu-memory.vue b/src/client/app/desktop/views/pages/admin/admin.cpu-memory.vue index 0f486df2d9..5d03b30ef4 100644 --- a/src/client/app/desktop/views/pages/admin/admin.cpu-memory.vue +++ b/src/client/app/desktop/views/pages/admin/admin.cpu-memory.vue @@ -78,7 +78,7 @@ export default Vue.extend({ this.connection.on('stats', this.onStats); this.connection.on('statsLog', this.onStatsLog); this.connection.send('requestLog', { - id: Math.random().toString(), + id: Math.random().toString().substr(2, 8), length: 200 }); }, |