Add long polling to room and project
This commit is contained in:
parent
a5b05c5faa
commit
1417f8fc2d
|
|
@ -59,7 +59,8 @@
|
||||||
const project = this.$getRidOfEdges(data).project || {};
|
const project = this.$getRidOfEdges(data).project || {};
|
||||||
this.$store.dispatch('setSpecialContainerClass', project.appearance);
|
this.$store.dispatch('setSpecialContainerClass', project.appearance);
|
||||||
return project;
|
return project;
|
||||||
}
|
},
|
||||||
|
pollInterval: 5000,
|
||||||
},
|
},
|
||||||
me: {
|
me: {
|
||||||
query: ME_QUERY
|
query: ME_QUERY
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,7 @@
|
||||||
this.$store.dispatch('setSpecialContainerClass', this.room.appearance);
|
this.$store.dispatch('setSpecialContainerClass', this.room.appearance);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
pollInterval: 30,
|
pollInterval: 5000,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue