pezcurrel
|
74bc9caa7e
Using “validhostname” from “lib/validhostname.php”
|
1 місяць тому |
pezcurrel
|
a611e251fc
Fixed a bug that was preventing crawler.php and peerscrawl.php to use the actual graceline they should be using when the “--gracetime” option was used
|
7 місяців тому |
pezcurrel
|
238ac44485
Changed “done” message
|
9 місяців тому |
pezcurrel
|
6914551daa
Fixed “deadinsts” loading queries; changed default “conntimeout” and “functimeout”
|
9 місяців тому |
pezcurrel
|
618ebfa54b
Added 'Accept: application/json' to every “gurl” call
|
9 місяців тому |
pezcurrel
|
4e5973e874
Fixed a flaw in “dead instances” loading queries
|
9 місяців тому |
pezcurrel
|
a9b0e049b4
Changed “conntimeout” default from 5 to 3 and “functimeout” default from 10 to 5
|
9 місяців тому |
pezcurrel
|
6a750a2f3c
Added “round [number]” to every status “eecho”; changed all “echo('...')” to “echo '...'”
|
9 місяців тому |
pezcurrel
|
d502fde347
Removed useless, redundant code filtering the list of instances at the beginning of the “crawl” function: filtering already happens before adding an instance to next round list
|
9 місяців тому |
pezcurrel
|
a677d3301b
Added “-i, --includedead” option explanation to help text
|
9 місяців тому |
pezcurrel
|
83868504d7
Super-optimized it; made it a bit more verbose and clearer
|
9 місяців тому |
pezcurrel
|
943c65b2ba
Added regexps check before adding an inst to “Instances” and “Peers” tables
|
9 місяців тому |
pezcurrel
|
540c9d4440
Optimized, fixed a flaw
|
9 місяців тому |
pezcurrel
|
721d892f64
Refactored directory tree
|
9 місяців тому |
pezcurrel
|
6ae7e07e77
Fixed bug in loading dead instances
|
1 рік тому |
pezcurrel
|
b22befdec2
Removed “excludead” option: use a high “gracetime” when needed; other minor changes
|
1 рік тому |
pezcurrel
|
83d3c6b5c5
Changed “discovered instances” to “instances responded” in message “working on ...”
|
1 рік тому |
pezcurrel
|
94bfec5f78
“$list” paramater of function “crawl” is now passed by reference; “$list” now gets unset in any case after it has been looped through; this hopefully will decrease a bit the amount of memory used by the script
|
1 рік тому |
pezcurrel
|
870e3524ca
Fixed $maxround not set to actual max round
|
1 рік тому |
pezcurrel
|
430c35e17a
Little change in progress string
|
1 рік тому |
pezcurrel
|
ff2d6c09a8
Removed “peers.all” file; made the script write to “peers files” only on exit (be it clean or by interruption)
|
1 рік тому |
pezcurrel
|
44b6456695
Made check on peers more strict, made the script abandon checking when a peers entry is malformed
|
1 рік тому |
pezcurrel
|
3f7a5ff69c
Moved $graceline definition up, fixing a bug; made peers checking msgs more informative
|
1 рік тому |
pezcurrel
|
97f5b99654
Removed ckpeers function, it was overkill; added a preliminary check for “stringness” to the checks on each peer
|
1 рік тому |
pezcurrel
|
926b1b0d73
Added ckpeers function to check if the json array returned by api/v1/instance/peers is well formed
|
1 рік тому |
pezcurrel
|
1e1b2a99e9
Dropped Instances.Dead, using Instances.LastOkCheckTS now instead
|
1 рік тому |
pezcurrel
|
00caa1dcb9
Changed default for “deadline” option from 62 to 31 days
|
1 рік тому |
pezcurrel
|
429ab42ff5
Added 2 debug messages stating how mani dead instances the script got from Instances and Peers tables
|
1 рік тому |
pezcurrel
|
119c9119c2
Made the logic for “deadline” much more terse
|
1 рік тому |
pezcurrel
|
10e2e1b58a
Added “lecho” for “message levels”, removed “gecho”, removed “verbose” option; removed “loop” option (do loop from a shell script if needed)
|
1 рік тому |