Browse files

turn off eventlet again

  • Loading branch information...
1 parent e67f92a commit 6aafa5339dd0f284f8bea004c4f991e5770b739a @JoeGermuska JoeGermuska committed Aug 10, 2011
Showing with 7 additions and 7 deletions.
  1. +7 −7 dataprocessing/deploy_csv.py
View
14 dataprocessing/deploy_csv.py
@@ -116,12 +116,12 @@ def fetch_table_label(table_id):
tables = fetch_tables_and_labels()
# non-eventlety
- # for table_id in sorted(tables):
- # deploy_table(STATE_FIPS, SUMLEV, table_id,policy)
+ for table_id in sorted(tables):
+ deploy_table(STATE_FIPS, SUMLEV, table_id,policy)
# eventlety
- pile = eventlet.GreenPile(64)
- for table_id in sorted(tables):
- pile.spawn(deploy_table, STATE_FIPS, SUMLEV, table_id,policy)
- # Wait for all greenlets to finish
- list(pile)
+ # pile = eventlet.GreenPile(64)
+ # for table_id in sorted(tables):
+ # pile.spawn(deploy_table, STATE_FIPS, SUMLEV, table_id,policy)
+ # # Wait for all greenlets to finish
+ # list(pile)

0 comments on commit 6aafa53

Please sign in to comment.