Sfoglia il codice sorgente

Determine the number of processes to create automatically

tags/v0.1.0
Jérôme Deuchnord 4 anni fa
parent
commit
402fe6a723
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: BC6F3C345B7D33B0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      ephemeris.py

+ 1
- 1
ephemeris.py Vedi File

@@ -75,7 +75,7 @@ class Ephemeris:
'observer': {'latitude': self.latitude, 'longitude': self.longitude},
'year': year, 'month': month, 'day': day})

with ThreadPool(4) as pool:
with ThreadPool() as pool:
planets = pool.map(Ephemeris.get_planet, args)

obj = {}


Caricamento…
Annulla
Salva