From 9ddf6b029540cbb1034c0ba2874145761fcb3b48 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 8 Jul 2013 11:51:49 -0400 Subject: [PATCH] do-destroy-rebuild-database: Default to randomly generated message data. And use only 1 thread, to work around pylibmc multithreading issues on OSX. (imported from commit bb065b611cb67133f727747cec4a0ff568513788) --- tools/do-destroy-rebuild-database | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/do-destroy-rebuild-database b/tools/do-destroy-rebuild-database index 0258294bb7..dbc508f045 100755 --- a/tools/do-destroy-rebuild-database +++ b/tools/do-destroy-rebuild-database @@ -5,6 +5,6 @@ echo "DROP SCHEMA humbug CASCADE; CREATE SCHEMA humbug;" | python manage.py dbsh python manage.py syncdb --noinput python manage.py migrate python manage.py createcachetable third_party_api_results -python manage.py populate_db --replay-old-messages -n0 +python manage.py populate_db -n100 --threads=1 # Ensure that the local user's API key is synced from ~/.humbugrc python manage.py sync_api_key