Changeset 11503 in genesis for tools/gformat.py
- Timestamp:
- Sep 26, 2012, 8:28:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r11444 r11503 16 16 # the heavy template lifting all the time. 17 17 # 18 # WSGIDaemonProcess gformat processes=2threads=2518 # WSGIDaemonProcess gformat threads=25 19 19 # WSGISocketPrefix run/wsgi 20 20 # … … 108 108 109 109 110 ileiden_proxies = [] 111 normal_proxies = [] 110 112 datadump_cache = {} 111 113 interface_list_cache = {} 112 114 rc_conf_local_cache = {} 115 nameservers_cache = [] 113 116 def clear_cache(): 114 117 ''' Poor mans cache implementation ''' 115 global datadump_cache, interface_list_cache, rc_conf_local_cache 118 global datadump_cache, interface_list_cache, rc_conf_local_cache, ileiden_proxies, normal_proxies, nameservers_cache 116 119 datadump_cache = {} 117 120 interface_list_cache = {} 118 121 rc_conf_local_cache = {} 122 ileiden_proxies = [] 123 normal_proxies = [] 124 nameservers_cache = [] 119 125 120 126 … … 629 635 630 636 631 ileiden_proxies = []632 normal_proxies = []633 637 def generate_rc_conf_local(datadump): 634 638 """ Generate configuration file '/etc/rc.conf.local' """ … … 847 851 848 852 849 nameservers_cache = []850 853 def get_nameservers(max_servers=None): 851 854 if nameservers_cache:
Note:
See TracChangeset
for help on using the changeset viewer.