[JAVA] Standardwert für server.servlet.session.timeout

30 Minuten für Spring-Boot-2.1.8.

   <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.1.8.RELEASE</version>
        <relativePath />
    </parent>

Ich konnte das Dokument nicht finden, daher sieht der Quellcode folgendermaßen aus:

package org.springframework.boot.web.servlet.server;

public class Session {

	@DurationUnit(ChronoUnit.SECONDS)
	private Duration timeout = Duration.ofMinutes(30);

Recommended Posts

Standardwert für server.servlet.session.timeout
Standardwert von Android: exportiert
Standardwerte für MaxHeapSize und InitialHeapSize
Ändern Sie die Standardzeitzone für die Rails-App