Skip to content

Commit

Permalink
feat: add new env for persistent database connection
Browse files Browse the repository at this point in the history
  • Loading branch information
TrayserCassa committed Jan 8, 2025
1 parent d45478c commit 4acceb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/v1/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ func (s *Store) GetEnv() []corev1.EnvVar {
Name: "APP_URL",
Value: fmt.Sprintf("https://%s", s.Spec.Network.Host),
},
{
Name: "DATABASE_PERSISTENT_CONNECTION",
Value: "1",
},
}

c = append(c, s.getSessionCache()...)
Expand Down

0 comments on commit 4acceb0

Please sign in to comment.