Skip to content

Commit

Permalink
Merge pull request #206 from tmaeno/master
Browse files Browse the repository at this point in the history
added disableHTTP + short retry interval for adder
  • Loading branch information
tmaeno authored Apr 24, 2023
2 parents 483f006 + 12314f2 commit 7d7e515
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 65 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ RUN mkdir -p /data/atlpan
RUN mkdir -p /var/log/panda/wsgisocks
RUN mkdir -p /var/log/panda/pandacache
RUN mkdir -p /run/httpd/wsgisocks
RUN mkdir -p /var/cache/pandaserver/jedilog
RUN mkdir -p /var/log/panda/pandacache/jedilog
RUN mkdir -p /var/run/panda
RUN mkdir -p /var/cric

Expand All @@ -71,7 +71,6 @@ RUN chmod -R 777 /var/log/panda
RUN chmod -R 777 /run/httpd
RUN chmod -R 777 /home/atlpan
RUN chmod -R 777 /var/lock
RUN chmod -R 777 /var/cache/pandaserver
RUN chmod -R 777 /var/log/panda/pandacache
RUN chmod -R 777 /var/run/panda
RUN chmod -R 777 /var/lib/logrotate
Expand Down
2 changes: 1 addition & 1 deletion PandaPkgInfo.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release_version = "0.0.51"
release_version = "0.0.52"
4 changes: 4 additions & 0 deletions pandaserver/config/panda_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
if 'pserverhosthttp' not in tmpSelf.__dict__:
tmpSelf.__dict__['pserverhosthttp'] = tmpSelf.__dict__['pserverhost']

# disable http
if 'disableHTTP' not in tmpSelf.__dict__:
tmpSelf.__dict__['disableHTTP'] = False

# change the number of database connections for FastCGI/WSGI
if tmpSelf.__dict__['useFastCGI'] or tmpSelf.__dict__['useWSGI']:
tmpSelf.__dict__['nDBConnection'] = tmpSelf.__dict__['nDBConForFastCGIWSGI']
Expand Down
2 changes: 1 addition & 1 deletion pandaserver/daemons/scripts/add_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def main(argv=tuple(), tbuf=None, **kwargs):
lock_interval = 10

# retry interval in minutes
retry_interval = 3
retry_interval = 1

# instantiate TB
if tbuf is None:
Expand Down
Loading

0 comments on commit 7d7e515

Please sign in to comment.