aboutsummaryrefslogtreecommitdiff
path: root/cmd/sapientwindex/main.go
AgeCommit message (Collapse)AuthorFilesLines
2024-05-09cmd/sapientwindex: clean up for general usageXe Iaso1-7/+27
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-25cmd/sapientwindex: add a stop hereXe Iaso1-2/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-18cmd/sapientwindex: retry scanning in a loopv1.8.3Xe Iaso1-6/+10
So apparently this bot was randomly exiting with status code 0. I checked the vendor closure of the library and found out that this was not an intentional call made in any of the code I'm calling. Nope. Turns out this is everything working as intended because when execution gets to the end of `func main`, Go inserts a `syscall.Exit(0)` for you. This was fixed by inserting a "wait 5 seconds after each retry" loop. If this becomes a problem, I'll probably switch to using /x/cardio to have it float between 30 seconds and an hour. Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-08don't lose memoryv1.8.2Xe Iaso1-4/+5
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-08fixv1.8.1Xe Iaso1-1/+1
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-10-08cmd/sapientwindex: adapt into being a tool for goodv1.8.0Xe Iaso1-106/+40
Signed-off-by: Xe Iaso <me@xeiaso.net>
2023-09-26cmd/sapientwindex: add reddit botXe Iaso1-0/+163
Signed-off-by: Xe Iaso <me@xeiaso.net>