config.local.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "source": {
  3. "type": "cfst_local"
  4. },
  5. "cfst_local": {
  6. "work_dir": "./cfst_darwin_arm64",
  7. "binary": "./cfst",
  8. "run_args": [
  9. "-f",
  10. "ip.txt",
  11. "-o",
  12. "result.csv",
  13. "-p",
  14. "10",
  15. "-url",
  16. "https://speed.cloudflare.com/__down?bytes=50000000"
  17. ],
  18. "result_file": "result.csv",
  19. "run_timeout_sec": 600,
  20. "skip_run": false,
  21. "header_rows": 1,
  22. "columns": {
  23. "ip": 0,
  24. "sent": 1,
  25. "received": 2,
  26. "loss_rate": 3,
  27. "avg_latency": 4,
  28. "download_speed": 5,
  29. "region": 6
  30. }
  31. },
  32. "domain_filter": {
  33. "include_suffixes": [],
  34. "exclude_regex": []
  35. },
  36. "selection": {
  37. "top_n": 3
  38. },
  39. "output": {
  40. "runtime_dir": "./runtime",
  41. "selected_value_file": "current_ip.txt",
  42. "selected_value_json": "current_ip.json",
  43. "selected_value_json_key": "ip",
  44. "state_file": "state.json",
  45. "state_last_good_key": "last_good_ip",
  46. "export_vars_file": "substore_vars.json",
  47. "substore_value_key": "AUTO_CFIP"
  48. },
  49. "notify": {
  50. "command": ""
  51. }
  52. }