move out concierge stub to repo, restructure
This commit is contained in:
		
							parent
							
								
									6d73ac9dc3
								
							
						
					
					
						commit
						97135c90a5
					
				| 
						 | 
				
			
			@ -3,7 +3,7 @@ python:
 | 
			
		|||
  - "3.7"
 | 
			
		||||
  - "3.8"
 | 
			
		||||
install:
 | 
			
		||||
  - pip install -r portier/requirements.txt
 | 
			
		||||
  - pip install -r requirements.txt
 | 
			
		||||
  - pip install flake8
 | 
			
		||||
script:
 | 
			
		||||
  - flake8
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,15 +0,0 @@
 | 
			
		|||
from celery import Celery
 | 
			
		||||
from xmlrpc.client import ServerProxy
 | 
			
		||||
 | 
			
		||||
server = ServerProxy('http://localhost:9001/RPC2')
 | 
			
		||||
app = Celery('tasks', broker='redis://localhost')
 | 
			
		||||
 | 
			
		||||
print(server.supervisor.getState())
 | 
			
		||||
 | 
			
		||||
@app.task
 | 
			
		||||
def start_restream(name):
 | 
			
		||||
    print(name)
 | 
			
		||||
 | 
			
		||||
@app.task
 | 
			
		||||
def stop_restream(name):
 | 
			
		||||
    print(name)
 | 
			
		||||
| 
						 | 
				
			
			@ -1,15 +0,0 @@
 | 
			
		|||
from celery import Celery
 | 
			
		||||
from xmlrpc.client import ServerProxy
 | 
			
		||||
 | 
			
		||||
server = ServerProxy('http://localhost:9001/RPC2')
 | 
			
		||||
app = Celery('tasks', broker='redis://localhost')
 | 
			
		||||
 | 
			
		||||
print(server.supervisor.getState())
 | 
			
		||||
 | 
			
		||||
@app.task
 | 
			
		||||
def start_restream(name):
 | 
			
		||||
    print(name)
 | 
			
		||||
 | 
			
		||||
@app.task
 | 
			
		||||
def stop_restream(name):
 | 
			
		||||
    print(name)
 | 
			
		||||
		Loading…
	
		Reference in New Issue