Changed encoding and meta route index
Encoding is now BH (data type, route) which should be more than enough for now. Because H is not signed the meta route is now always on position 0.
This commit is contained in:
parent
2f17bd41ff
commit
d703f018b8
2 changed files with 6 additions and 4 deletions
|
@ -36,8 +36,8 @@ def launch_routes(created_routes, handler):
|
|||
|
||||
|
||||
def create_exchange_map(routes):
|
||||
exchange_map = {-1 : "meta"}
|
||||
exchange_id = 0
|
||||
exchange_map = {0 : "meta"}
|
||||
exchange_id = 1
|
||||
for route in routes:
|
||||
if route != "meta":
|
||||
exchange_map[exchange_id] = route
|
||||
|
|
Reference in a new issue