kopia lustrzana https://github.com/snarfed/bridgy-fed
				
				
				
			
							rodzic
							
								
									40afd66771
								
							
						
					
					
						commit
						964a990ab2
					
				
							
								
								
									
										3
									
								
								hub.py
								
								
								
								
							
							
						
						
									
										3
									
								
								hub.py
								
								
								
								
							|  | @ -61,10 +61,11 @@ models.reset_protocol_properties() | ||||||
| # ...*before* initializing Flask app and request handlers, including health check, | # ...*before* initializing Flask app and request handlers, including health check, | ||||||
| # so that we don't go into service and start serving subscribers until the preload | # so that we don't go into service and start serving subscribers until the preload | ||||||
| # window is loaded | # window is loaded | ||||||
| if LOCAL_SERVER or not DEBUG: | if LOCAL_SERVER: | ||||||
|     # Nostr relays |     # Nostr relays | ||||||
|     nostr_hub.init() |     nostr_hub.init() | ||||||
| 
 | 
 | ||||||
|  | if LOCAL_SERVER or not DEBUG: | ||||||
|     # ATProto firehose consumer |     # ATProto firehose consumer | ||||||
|     for thread in threading.enumerate(): |     for thread in threading.enumerate(): | ||||||
|         assert not thread.name.startswith('atproto_firehose.'), thread.name |         assert not thread.name.startswith('atproto_firehose.'), thread.name | ||||||
|  |  | ||||||
		Ładowanie…
	
		Reference in New Issue
	
	 Ryan Barrett
						Ryan Barrett