Skip to content

Commit

Permalink
convert timeout to int
Browse files Browse the repository at this point in the history
  • Loading branch information
ilude committed Mar 31, 2024
1 parent 525c042 commit 55784e7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
"dev.containers.gitCredentialHelperConfigLocation": "system",
"editor.tabSize": 2,
"files.readonlyFromPermissions": true,
"terminal.external.windowsExec": "C:\\Program Files\\PowerShell\\7\\pwsh.exe",
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.defaultProfile.windows": "pwsh",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/bin/bash",
Expand All @@ -60,7 +63,12 @@
"path": "/bin/zsh",
"icon": "terminal-linux",
"args": ["-l"]
}
},
"pwsh": {
"args": ["-nologo"],
"icon": "terminal-powershell",
"path": "pwsh"
},
},
"terminal.integrated.tabs.description": "",
"terminal.integrated.tabs.title": "${local}${separator}${cwdFolder}${separator}${process}",
Expand Down
9 changes: 8 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
{
"cSpell.words": [
"azuretools",
"cssless",
"devcontainer",
"hykin",
"Instapundit",
"JSONIFY",
"langchain",
"llms",
"mikestead",
"Monero",
"mustexist",
"nologo",
"ollama",
"Ollama",
"OLLAMA",
"pwsh",
"Slickdeals",
"Tailscale",
"Thingiverse",
"yamlpath"
"yamlpath",
"zcompdump"
]
}
2 changes: 1 addition & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


cache = Cache(app, config=cache_config)
page_timeout = os.environ.get('ONBOARD_PAGE_TIMEOUT', 600)
page_timeout = int(os.environ.get('ONBOARD_PAGE_TIMEOUT', 600))

@app.context_processor
def inject_current_date():
Expand Down

0 comments on commit 55784e7

Please sign in to comment.