Mastodon App Timezone
-
@shanelord01 said in Mastodon App Timezone:
I have coming in via federated timeline show 12 hours ago? Weird.
Maybe your federation crawling is just slow as hell or configuration is messed up? By the way what timezone are you in and are federation posts off by -12h on the minute?
-
@subven said in Mastodon App Timezone:
@shanelord01 said in Mastodon App Timezone:
I have coming in via federated timeline show 12 hours ago? Weird.
Maybe your federation crawling is just slow as hell or configuration is messed up? By the way what timezone are you in and are federation posts off by -12h on the minute?
I'm in Australia/Sydney
Weirdly when I look at https://universeodon.com/@popsci for example (picked at random from federated), the newest post I see in my federated timeline by them is:
https://universeodon.com/@popsci/109394957345483126
But the latest on their actual instance is https://universeodon.com/@popsci/109397760150760639
How do I fix my federation speed? I haven't changed anything from default settings.
-
@subven said in Mastodon App Timezone:
app terminal still displays UTC (from the host) I guess?
Yes, running date in the terminal of the app is still using and showing UTC as the timezone. The Cloudron dashboard is configured to use UTC+1.
From my perspective it is fine if both values don't align. That is why timestamps should include a timezone so that software can properly convert these to the local time of the user.
-
The server and the containers are generally always run in UTC. This just helps in standardization. In general, apps don't use the server/container time zone. On Cloudron, they don't even have access to the server time zone because of permissions. When showing logs in the browser, we try to convert UTC to browser time zone (internal storage is always UTC).
So, anyways, long story short. Do we know for sure Mastodon uses the server/container timezone ?
Think about it, most software needs to support users in different timezone. One single server timezone is really not useful here). Like in this forum.. I am in SF, my colleague is in Germany, the server is in amsterdam. Each user is in their own timezones. Which timezone is it? An app should not rely on server timezones.
-
@shanelord01 Looking for some obvious issues upstream. Just going through https://github.com/mastodon/mastodon/issues/21209 and related tasks to see if we miss something obvious.
-
@shanelord01 this somehow seems more like a delayed federation issue, things are not really instant on mastodon. I have send you a DM from our cloudron mastodon account just now to see what happens.
-
@nebulon Yep - seems to be due to insufficient processes and threads in config.sh
I'm playing with:
#!/bin/bash # Setup scaling related environment variables here - https://docs.joinmastodon.org/admin/scaling/ # Puma export WEB_CONCURRENCY=10 # number of worker processes export MAX_THREADS=20 # the number of threads per process # Streaming API export STREAMING_CLUSTER_NUM=2 # number of worker processes # Sidekiq export SIDEKIQ_THREADS=80 export DB_POOL=100 # must be at least the same as the number of threads
at the moment and it seems to be catching up.