how to increase connection time

Maybe your hook called too early. And after yours, this connection time changes elsewhere. Try to increase priority like that:

add_filter( 'auth_cookie_expiration', 'keep_me_logged_in', 99, 3);
function keep_me_logged_in( $expiration, $user_id, $remember ) {/*your code*/}

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş