chiark / gitweb /
done
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 23 Aug 2020 10:43:02 +0000 (11:43 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 23 Aug 2020 10:43:02 +0000 (11:43 +0100)
src/bin/server.rs
src/global.rs
src/pieces.rs

index 0ff6afcf76ee185e0f9b5f391c7aa22f9874276f..1e23ef66a6bb77489c0b77a3a22960a6b2a04e66 100644 (file)
@@ -1,7 +1,5 @@
 
-// xxx need button(s) to kill old clients
-// and/or cause players to release grabs
-// ? need expiry of old clients?  limit of client count?
+// xxx need button(s) to cause players to release grabs ?
 
 #![feature(proc_macro_hygiene, decl_macro)]
 
index 7212cb8cc9172efcd4a9cad68e8fc0a6a983cca6..9603fc1bc2eec368563d06aba053b092baa7298a 100644 (file)
@@ -811,8 +811,6 @@ pub fn record_token<Id : AccessId> (
 
 // ---------- client expiiry ----------
 
-// xxx is lastseen updated by sse and by api calls ?
-
 pub fn client_expire_old_clients() {
   fn lock_even_poisoned(gref: &InstanceRef) -> MutexGuard<InstanceContainer> {
     match gref.0.lock() {
index 45a34eb954ac6261012fa46373d785bd33048775..454c96b997bcc16a200cf3637f48f46db89e4c8b 100644 (file)
@@ -5,6 +5,7 @@ use crate::imports::*;
 type ColourMap = IndexVec<FaceId,Colour>;
 
 #[derive(Debug,Serialize,Deserialize)]
+// todo: this serialisation is rather large
 struct SimpleShape {
   desc : String,
   path : String,