mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-12-09 21:26:05 +08:00
Disable automatic update when running flyctl proxy (#2723)
This commit is contained in:
parent
303f78a418
commit
a4cc39ec22
1 changed files with 3 additions and 1 deletions
|
|
@ -267,10 +267,12 @@ defmodule Livebook.Runtime.Fly do
|
||||||
"--watch-stdin"
|
"--watch-stdin"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
env = [{~c"FLY_NO_UPDATE_CHECK", ~c"1"}]
|
||||||
|
|
||||||
port =
|
port =
|
||||||
Port.open(
|
Port.open(
|
||||||
{:spawn_executable, flyctl_path},
|
{:spawn_executable, flyctl_path},
|
||||||
[:binary, :hide, :stderr_to_stdout, args: args]
|
[:binary, :hide, :stderr_to_stdout, args: args, env: env]
|
||||||
)
|
)
|
||||||
|
|
||||||
port_ref = Port.monitor(port)
|
port_ref = Port.monitor(port)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue