Skip to content

Commit

Permalink
Threads are not working for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jul 8, 2014
1 parent 2e7efb2 commit 4b103bd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,14 @@ def threadQuery(serv):


#We get all services with tap,sia,ssa,tap from vo-paris registry
threads = []
#threads = []
for _type in SERVICEPARAMS:
t = threading.Thread(target=threadQuery , args=(_type,))
threads.append(t)
threadQuery(_type)
#t = threading.Thread(target=threadQuery , args=(_type,))
#threads.append(t)

[x.start() for x in threads]
[x.join() for x in threads]
#[x.start() for x in threads]
#[x.join() for x in threads]

#giving the catalogs to the external dictionary
for item in catalogsList:
Expand Down

0 comments on commit 4b103bd

Please sign in to comment.