From 7e6b8a684fa3abec9188fd81763cb518879bdf59 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@users.noreply.github.com>
Date: Thu, 12 Mar 2020 14:15:44 -0400
Subject: [PATCH] Lower NUM_TOKENS

Runtime performance at 512000 is somewhat intolerable.  Further work is needed to support that scale.
---
 src/_zkapauthorizer/resource.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/_zkapauthorizer/resource.py b/src/_zkapauthorizer/resource.py
index 79c8d31..b09b58a 100644
--- a/src/_zkapauthorizer/resource.py
+++ b/src/_zkapauthorizer/resource.py
@@ -59,7 +59,7 @@ from .controller import (
 )
 
 # The number of tokens to submit with a voucher redemption.
-NUM_TOKENS = 512000
+NUM_TOKENS = 2 ** 15
 
 
 class IZKAPRoot(IResource):
-- 
GitLab