summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-13 19:25:59 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-13 19:25:59 +0900
commit4f74373df3fae871331dd1577bc4a914ecc809fb (patch)
treebd6f4d02eef6e02b10b76723b9249dd599fe0a3e /src
parentBetter id (diff)
downloadmisskey-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.vue2
-rw-r--r--src/client/app/desktop/views/pages/admin/admin.cpu-memory.vue2
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
});
},