mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
Fix an issue with slow updating of PlatformIO Core packages on Windows
This commit is contained in:
@ -9,6 +9,7 @@ PlatformIO 4.0
|
|||||||
|
|
||||||
* Added Python 3.5+ support
|
* Added Python 3.5+ support
|
||||||
(`issue #895 <https://github.com/platformio/platformio-core/issues/895>`_)
|
(`issue #895 <https://github.com/platformio/platformio-core/issues/895>`_)
|
||||||
|
* Fixed an issue with slow updating of PlatformIO Core packages on Windows
|
||||||
|
|
||||||
PlatformIO 3.0
|
PlatformIO 3.0
|
||||||
--------------
|
--------------
|
||||||
|
@ -106,9 +106,10 @@ def update_core_packages(only_check=False, silent=False):
|
|||||||
|
|
||||||
def shutdown_piohome_servers():
|
def shutdown_piohome_servers():
|
||||||
port = 8010
|
port = 8010
|
||||||
while port < 8100:
|
while port < 8050:
|
||||||
try:
|
try:
|
||||||
requests.get("http://127.0.0.1:%d?__shutdown__=1" % port)
|
requests.get(
|
||||||
|
"http://127.0.0.1:%d?__shutdown__=1" % port, timeout=0.01)
|
||||||
except: # pylint: disable=bare-except
|
except: # pylint: disable=bare-except
|
||||||
pass
|
pass
|
||||||
port += 1
|
port += 1
|
||||||
|
Reference in New Issue
Block a user