import os
import asyncio
import util
import uvloop

import nori.app as app

server_port = os.getenv('SERVER_PORT', 8080)
process_num = int(os.getenv('PROCESS_NUM', mp.cpu_count()))
services = os.getenv('SERVICES', '')

asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())

def app_main():
    app.run_web_server(
        app.ServerConfig(port=server_port).add_service(
            services.split(',')
        ), process_num=process_num)

if __name__ == '__main__':
    app_main()

@@ -22,20 +22,8 @@
 cio%0A
-import util%0A
 impo

update code