Add long polling to room and project

This commit is contained in:
Ramon Wenger 2019-05-14 17:17:24 +02:00
parent a5b05c5faa
commit 1417f8fc2d
2 changed files with 3 additions and 2 deletions

View File

@ -59,7 +59,8 @@
const project = this.$getRidOfEdges(data).project || {};
this.$store.dispatch('setSpecialContainerClass', project.appearance);
return project;
}
},
pollInterval: 5000,
},
me: {
query: ME_QUERY

View File

@ -79,7 +79,7 @@
this.$store.dispatch('setSpecialContainerClass', this.room.appearance);
}
},
pollInterval: 30,
pollInterval: 5000,
}
}
}