Permalink
Browse files

Fixed some naming inconsistancies.

  • Loading branch information...
1 parent 89ed1a2 commit e08ac54ccc3bc724bce21eb759b5d79b51781143 @gregbayer committed May 12, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 livecount/counter.py
  2. +1 −1 queue.yaml
@@ -92,7 +92,7 @@ def load_and_increment_counter(name, delta, namespace='default', batch_size=None
if not batch_size or (batch_size and current_count % batch_size == 0):
if memcache.add(name + '_dirty', delta, namespace=namespace):
#logging.info("Adding task to taskqueue. counter value = " + str(memcache.get(name, namespace=namespace)))
- taskqueue.add(queue_name='livecount_writebacks', url='/livecount/worker', params={'name': name, 'namespace': namespace})
+ taskqueue.add(queue_name='livecount-writebacks', url='/livecount/worker', params={'name': name, 'namespace': namespace})
def load_and_decrement_counter(name, delta, namespace='default', batch_size=None):
View
@@ -2,7 +2,7 @@ queue:
- name: default
rate: 10/s
bucket_size: 100
-- name: livecount_writebacks
+- name: livecount-writebacks
rate: 100/s
bucket_size: 100

0 comments on commit e08ac54

Please sign in to comment.