Opensearch Dashboards Session TTL does not work

Hello, I found these settings to set Sesion TTL in one github issue. They are supposed to work, but they don’t.

How do I set Sesion TTL to 1 day in Opensearch Dashboards. Now with these settings Sesion TTL are still 1 hour.

Thanks!

  opensearch-dashboards:
    image: opensearchproject/opensearch-dashboards:${KIBANA_VERSION}
    ports:
      - 5601:5601
    environment:
      OPENSEARCH_HOSTS: '["http://opensearch:9200"]'
      opendistro_security.cookie.ttl: 86400000
      opendistro_security.session.ttl: 86400000
      opendistro_security.session.keepalive: true
    networks: [ monitoring ]
    tty: true

Is it working for everyone?
UP!