Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed some naming inconsistancies.

  • Loading branch information...
commit e08ac54ccc3bc724bce21eb759b5d79b51781143 1 parent 89ed1a2
Greg Bayer authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  livecount/counter.py
  2. +1 −1  queue.yaml
2  livecount/counter.py
View
@@ -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):
2  queue.yaml
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
Please sign in to comment.
Something went wrong with that request. Please try again.