Core sessions expire after one hour because that's the expiry time that Brion used when he implemented MediaWiki's first session storage feature in 2003 r1890.
CentralAuth sessions expire after 24 hours because that's the expiry time Andrew chose when he implemented the CentralAuth session concept in 2008 r33061.
I want to switch testwiki to multi-DC active/active mode within the next few working days, but the main remaining blocker is the fact that these two expiry times are different, since the different expiry times prevent them from being put in the same Kask container. Otherwise they have a very similar access pattern, both being managed by core's SessionManager, so it would make sense to put them in the same data store.
I think one hour is too short, because an editor might take longer than that to edit a page. Writing content is hard and we don't want to get in the way of it with unnecessary CSRF warnings.
Currently, logins without the "remember me" option will expire after 24 hours of inactivity, since expiry of a core session will cause login from the CentralAuth session. All logged-in users have a CentralAuth session. So I suggest making both expiry times be 24 hours, since this is the best way to harmonize them without upsetting user expectations.