mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-06-20 21:04:24 -04:00
use "ttl" for updated doublethink svc reg api
This commit is contained in:
parent
89e7c8b079
commit
ac543ee5b6
3 changed files with 4 additions and 4 deletions
|
@ -494,7 +494,7 @@ class BrozzlerWorker:
|
||||||
else:
|
else:
|
||||||
status_info = {
|
status_info = {
|
||||||
"role": "brozzler-worker",
|
"role": "brozzler-worker",
|
||||||
"heartbeat_interval": self.HEARTBEAT_INTERVAL,
|
"ttl": self.HEARTBEAT_INTERVAL * 3,
|
||||||
}
|
}
|
||||||
status_info["load"] = 1.0 * self._browser_pool.num_in_use() / self._browser_pool.size
|
status_info["load"] = 1.0 * self._browser_pool.num_in_use() / self._browser_pool.size
|
||||||
status_info["browser_pool_size"] = self._browser_pool.size
|
status_info["browser_pool_size"] = self._browser_pool.size
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -70,7 +70,7 @@ setuptools.setup(
|
||||||
'websocket-client!=0.39.0',
|
'websocket-client!=0.39.0',
|
||||||
'pillow==3.3.0',
|
'pillow==3.3.0',
|
||||||
'urlcanon>=0.1.dev16',
|
'urlcanon>=0.1.dev16',
|
||||||
'doublethink>=0.2.0.dev71',
|
'doublethink>=0.2.0.dev81',
|
||||||
'rethinkdb>=2.3,<2.4',
|
'rethinkdb>=2.3,<2.4',
|
||||||
'cerberus==1.0.1',
|
'cerberus==1.0.1',
|
||||||
'jinja2',
|
'jinja2',
|
||||||
|
@ -78,7 +78,7 @@ setuptools.setup(
|
||||||
extras_require={
|
extras_require={
|
||||||
'dashboard': ['flask>=0.11', 'gunicorn'],
|
'dashboard': ['flask>=0.11', 'gunicorn'],
|
||||||
'easy': [
|
'easy': [
|
||||||
'warcprox>=2.1b1.dev60',
|
'warcprox>=2.1b1.dev86',
|
||||||
'pywb',
|
'pywb',
|
||||||
'flask>=0.11',
|
'flask>=0.11',
|
||||||
'gunicorn'
|
'gunicorn'
|
||||||
|
|
|
@ -17,5 +17,5 @@ vagrant ssh -- 'status warcprox ;
|
||||||
status vnc-websock'
|
status vnc-websock'
|
||||||
echo
|
echo
|
||||||
|
|
||||||
vagrant ssh -- 'set -x ; source /opt/brozzler-ve34/bin/activate && pip install pytest && pip install --upgrade --pre "warcprox>=2.1b1.dev71"'
|
vagrant ssh -- 'set -x ; source /opt/brozzler-ve34/bin/activate && pip install pytest && pip install --upgrade --pre "warcprox>=2.1b1.dev86"'
|
||||||
vagrant ssh -- "source /opt/brozzler-ve34/bin/activate && DISPLAY=:1 py.test -v /brozzler/tests $@"
|
vagrant ssh -- "source /opt/brozzler-ve34/bin/activate && DISPLAY=:1 py.test -v /brozzler/tests $@"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue