20 Dec 2019 |
Mathijs | oh, yeah, that sounds like a good plan :D | 10:48:34 |
Mathijs | doesn't matrix-static cache it? | 10:49:08 |
Mathijs | I don't think I keep restarting matrix-static causing this to happen | 10:49:20 |
Mathijs | and the matrix static instance on matrix.f-droid.org is only supposed to server 2 rooms | 10:49:59 |
Michael (t3chguy) | It does but in memory and purges after some time | 10:51:20 |
Michael (t3chguy) | Otherwise it turns into something that resembles a memory leak | 10:51:31 |
Michael (t3chguy) | (but is not, it's just there's so much data) | 10:51:48 |
Michael (t3chguy) | I will give it some love soon | 10:52:04 |
Michael (t3chguy) | Maybe this weekend actually | 10:52:09 |
Mathijs | right, and our instance is clearly not used often enough to keep the rooms in memory | 10:52:12 |
Michael (t3chguy) | I might add a smarter purge | 10:52:27 |
Mathijs | eh, I'm happy it works in the first place 👍️ | 10:52:27 |
Michael (t3chguy) | To keep the last n in memory | 10:52:34 |
Michael (t3chguy) | Rather than only if accessed in last m | 10:52:41 |
Michael (t3chguy) | I've done too much riot work this week, so will be bored, might as well do some | 10:53:17 |
Michael (t3chguy) | Will have to do maintenance work to bring it up to go modules first | 10:53:32 |
Mathijs | sounds great | 10:53:33 |
Michael (t3chguy) | Do you use it in docker BTW? | 10:53:42 |
Mathijs | but either way, I'm glad it works as well as it does | 10:53:46 |
Mathijs | no, I build a binary on my own linux box and transported that to the hosting VPS | 10:54:11 |
Mathijs | there's no docker on the vps :) | 10:54:22 |
Michael (t3chguy) | Cool | 10:54:30 |
Mathijs | so if you end up updating matrix-static, I'd love a heads up so I can rebuild it | 10:54:44 |
Michael (t3chguy) | Openvz which doesn't support docker :P? | 10:54:54 |
Michael (t3chguy) | Yeah of course I'll shout in here | 10:55:06 |
Mathijs | nah, I just don't want to install docker on a VM that only runs synapse, nginx, and matrix-static | 10:55:26 |
Mathijs | there's limited diskspace as it is :) | 10:55:35 |
Michael (t3chguy) | That's fair too | 10:57:02 |
Michael (t3chguy) | The easy of xcompiling is something I love about go | 10:57:21 |
Michael (t3chguy) | Not that you're xcompiling but still | 10:57:29 |