Mercurial > code > home > repos > light9
diff bin/paintserver @ 1926:1a7e5b07bf17
use my greplin fork's stats/ code instead of an old local one
Ignore-this: f0935bd61f0b982e544c1991e14fb51e
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sun, 02 Jun 2019 00:05:12 +0000 |
parents | 3c523c71da29 |
children | f29e26811206 |
line wrap: on
line diff
--- a/bin/paintserver Sat Jun 01 23:46:34 2019 +0000 +++ b/bin/paintserver Sun Jun 02 00:05:12 2019 +0000 @@ -3,7 +3,7 @@ from run_local import log import json from twisted.internet import reactor -from light9.greplin_cyclone import StatsForCyclone +from greplin.scales.cyclonehandler import StatsHandler from rdfdb.syncedgraph import SyncedGraph from light9 import networking, showconfig from greplin import scales @@ -91,7 +91,9 @@ self.solver.loadSamples() self.cycloneApp = cyclone.web.Application(handlers=[ - (r'/stats', StatsForCyclone), + (r'/stats/(.*)', StatsHandler, { + 'serverName': 'paintserver' + }), (r'/solve', Solve), (r'/bestMatches', BestMatches), ],