7 Feb 2022 |
Dandellion | I'll clean it up and post the module in a proper repo | 20:40:42 |
hexa | and let our shitty configs inspire you | 20:40:45 |
fadenb | 😆 | 20:40:54 |
fadenb | My day started with half a country without power including our DC.
Not sure whether I have the energy today to experiment ^^ | 20:41:26 |
hexa | In reply to @dandellion:dodsorf.as I'll clean it up and post the module in a proper repo let signing_key default to homeserver.signing.key and media_store_path to media instead of media_store | 20:41:27 |
Dandellion | sounds reasonable | 20:41:40 |
hexa | that were my main pain points with the state migration | 20:41:50 |
hexa | In reply to @fadenb:utzutzutz.net My day started with half a country without power including our DC. Not sure whether I have the energy today to experiment ^^ rough, in DE? | 20:42:58 |
fadenb | Iceland | 20:43:08 |
fadenb | https://www.landsnet.is/flutningskerfid/kerfisstjornun/tilkynningar-fra-stjornstod/ | 20:43:25 |
Dandellion | icelandic is always so crazy when I see it. I'm norwegian so it's just similar enough that you think you recognize words and yet different enough for it to be impossible to actually read anything | 20:44:55 |
Dandellion | I've always wondered: Can icelanders read færøysk? | 20:45:58 |
hexa | færøysk … nice I can compose-key that 😀 | 20:46:44 |
fadenb | I am just happy that I understand Bavarian by now as I live in Munich ;) | 20:47:05 |
hexa | so, the silly idea wrt workers is … tell me how many workers of what kind you want, they'll be bound to localhost, ports need to be enumerated, drop them into nginx upstreams server option, if a certain worker upstream has at least one server start proxying the location | 20:51:15 |
hexa | also enable redis if any worker count > 0 | 20:51:23 |
Dandellion | yeah, there's a lot of things that can be done to make it much better | 20:52:16 |
hexa | ok, so I think my primary issues are with client workers, proxying /_matrix/client/ | 20:55:30 |
hexa | In reply to @hexa:lossy.network
it also intermittently errors out on PUT requests
Traceback (most recent call last):
File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/http/server.py", line 269, in _async_render_wrapper
callback_return = await self._async_render(request)
File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/http/server.py", line 471, in _async_render
callback_return = await raw_callback_return
File "/nix/store/bm9ravdndw17dzdy963a164sgnhwzqy4-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/internet/defer.py", line 1661, in _inlineCallbacks
result = current_context.run(gen.send, result)
File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/rest/client/sendtodevice.py", line 64, in _put
await self.device_message_handler.send_device_message(
File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/handlers/devicemessage.py", line 281, in send_device_message
last_stream_id = await self.store.add_messages_to_device_inbox(
File "/nix/store/si27f6ipgvymxxkxmw117d4nnp603fvv-matrix-synapse-1.51.0/lib/python3.9/site-packages/synapse/storage/databases/main/deviceinbox.py", line 421, in add_messages_to_device_inbox
assert self._can_write_to_device
AssertionError
running into these | 20:55:45 |
| Janne Heß joined the room. | 20:56:44 |
| Janne Heß invited @mic92:nixos.dev. | 20:57:03 |
| @mic92:nixos.dev joined the room. | 20:57:13 |
hexa | Dandellion, Sumner Evans TIL: https://gist.github.com/artizirk/e1793e28da16a48b41672d126b44e7a6 | 21:18:04 |
hexa | that map is just what we need | 21:18:25 |
hexa | * that map is just what we need to manage this in a sane way | 21:18:30 |
| @mic92:nixos.dev left the room. | 21:18:51 |
@linus.heckemann:matrix.mayflower.de | In reply to @fadenb:utzutzutz.net I am just happy that I understand Bavarian by now as I live in Munich ;) all Bavarian or just Munich Bavarian? :p | 21:22:53 |
@linus.heckemann:matrix.mayflower.de | because I find it hard to believe that I will ever understand all Bavarian. But maybe there's hope>? | 21:23:25 |
@linus.heckemann:matrix.mayflower.de | * because I find it hard to believe that I will ever understand all Bavarian. But maybe there's hope? | 21:23:26 |
@andreas.schraegle:helsinki-systems.de | In reply to @hexa:lossy.network that map is just what we need to manage this in a sane way I'm not sure I'd call a 60 line map sane. hm. this looks like it needs some more regex to compress it. thereby probably making it even less sane. | 21:27:46 |