Proxy prefetch cache becomes a command-line argument.
This commit is contained in:
@@ -21,6 +21,11 @@ class Environment
|
||||
@fake_pid = nil
|
||||
end
|
||||
|
||||
def prefetch_proxy!
|
||||
@nbd1.prefetch_proxy = true
|
||||
@nbd2.prefetch_proxy = true
|
||||
end
|
||||
|
||||
def proxy1(port=@port2)
|
||||
@nbd1.proxy(@ip, port)
|
||||
end
|
||||
|
Reference in New Issue
Block a user