[PR #1257] [CLOSED] env variable to configure defaultSessionDuration #36401

Closed
opened 2026-04-22 21:04:19 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1257
Author: @Pr0dt0s
Created: 11/23/2023
Status: Closed

Base: mainHead: feat/env-configurable-sessionDuration


📝 Commits (2)

  • 3d45a6d env variable to configure defaultSessionDuration
  • d7215cf alter defaultSessionDuration env variable

📊 Changes

1 file changed (+10 additions, -0 deletions)

View changed files

📝 server/routes.go (+10 -0)

📄 Description

This adds a simple environment variable to configure the defautSessionDuration that currently is hardcoded as 5 minutes.

Fixes issues #1048 and #931


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/1257 **Author:** [@Pr0dt0s](https://github.com/Pr0dt0s) **Created:** 11/23/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/env-configurable-sessionDuration` --- ### 📝 Commits (2) - [`3d45a6d`](https://github.com/ollama/ollama/commit/3d45a6dbf7367cb092018d62401b85409589d9f1) env variable to configure defaultSessionDuration - [`d7215cf`](https://github.com/ollama/ollama/commit/d7215cf797b4a80bad9cd1dd581aa3b7864615ca) alter defaultSessionDuration env variable ### 📊 Changes **1 file changed** (+10 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/routes.go` (+10 -0) </details> ### 📄 Description This adds a simple environment variable to configure the defautSessionDuration that currently is hardcoded as 5 minutes. Fixes issues #1048 and #931 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-22 21:04:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#36401