3231abf20a
When the proxy's signal polling thread gets a signal from the debugger client, it would normally wait one second for another thread to recognize and consume the signal. This is pretty reasonable, but with a debug build on a heavily loaded system it's very rarely possible for one second to not be long enough. Added a runtime option to extend this, and set it to 3s for the existing debugger server tests.
40 linhas
622 B
Plaintext
40 linhas
622 B
Plaintext
|
|
Log {
|
|
AlwaysLogUnhandledExceptions = false
|
|
}
|
|
|
|
Server {
|
|
AllowedFiles {
|
|
* = hello.php
|
|
* = hphpd.php
|
|
}
|
|
}
|
|
|
|
Eval {
|
|
Debugger {
|
|
EnableDebugger = true
|
|
EnableDebuggerServer = true
|
|
StartupDocument = hphpd_startup.php
|
|
SignalTimeout = 3
|
|
}
|
|
}
|
|
|
|
Log {
|
|
File = /tmp/hphpd_test_error.log
|
|
}
|
|
|
|
Sandbox {
|
|
SandboxMode = true
|
|
ConfFile = sandbox_conf
|
|
# only match hphpd.<user>.sth.sth, not any requests
|
|
Pattern = hphpd\.([a-z0-9_-]+)\.[a-z0-9_-]+\.[a-z0-9_-]+
|
|
}
|
|
|
|
Repo {
|
|
Local.Mode = r-
|
|
Central.Path = /var/facebook/hhvm/cli_%{schema}.hhbc
|
|
Eval.Mode = readonly
|
|
Commit = true
|
|
DebugInfo = true
|
|
}
|