prim-ctrl 0.8.7__tar.gz → 0.8.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: prim-ctrl
3
- Version: 0.8.7
3
+ Version: 0.8.8
4
4
  Summary: Primitive Ctrl - Remote control of your phone's Primitive FTPd Android SFTP server and optionally Tailscale VPN.
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
@@ -1236,7 +1236,7 @@ class Control:
1236
1236
  case 'test':
1237
1237
  if self.local.vpn and self.phone.vpn and self.phone.remote_sftp and self.phone.state:
1238
1238
  if await self.local.vpn.test():
1239
- phone_state, _vpn_state = await gather_with_taskgroup(self.phone.state.get(10, 30), self.phone.vpn.test())
1239
+ phone_state, _vpn_state = await gather_with_taskgroup(self.phone.state.get(10, 60), self.phone.vpn.test())
1240
1240
  elif self.local.vpn and self.phone.vpn and self.phone.remote_sftp and await self.local.vpn.test() and await self.phone.vpn.test():
1241
1241
  await self.phone.remote_sftp.test()
1242
1242
  else:
@@ -1258,7 +1258,7 @@ class Control:
1258
1258
 
1259
1259
  # gather phone state info
1260
1260
  if self.phone.state:
1261
- phone_state, phone_vpn_state = await gather_with_taskgroup(self.phone.state.get(10, 30), self.phone.vpn.test())
1261
+ phone_state, phone_vpn_state = await gather_with_taskgroup(self.phone.state.get(10, 60), self.phone.vpn.test())
1262
1262
  state[Control.PHONE_WIFI] = phone_state[PhoneState.WIFI]
1263
1263
  state[Control.PHONE_VPN] = phone_vpn_state
1264
1264
  state[Control.PHONE_SFTP] = phone_state[PhoneState.PFTPD]
@@ -3,7 +3,7 @@ packages = [{include = "prim_ctrl"}]
3
3
 
4
4
  [project]
5
5
  name = "prim-ctrl"
6
- version = "0.8.7"
6
+ version = "0.8.8"
7
7
  description = "Primitive Ctrl - Remote control of your phone's Primitive FTPd Android SFTP server and optionally Tailscale VPN."
8
8
  license = "Apache-2.0"
9
9
  authors = [
File without changes
File without changes