• Joined on 2021-12-08
ofilter commented on issue ofilter/Steam_Invite_Discord#35 2023-12-26 21:11:46 +01:00
Why the hell this line exists

Done.

ofilter pushed to 1.3-webtest at ofilter/Steam_Invite_Discord 2023-12-26 21:03:31 +01:00
b65f941879 HealthcheckHandler now handles all the process of starting the web server, so main.py remains cleaner.
ofilter pushed to 1.3-webtest at ofilter/Steam_Invite_Discord 2023-12-26 20:55:46 +01:00
8ee5e1cf03 Slightly improved code organization. (regarding healthcheck init)
ofilter pushed to 1.3-webtest at ofilter/Steam_Invite_Discord 2023-12-26 20:44:02 +01:00
c755d6e86f API server working correctly.
ofilter commented on issue ofilter/Steam_Invite_Discord#35 2023-12-26 15:57:46 +01:00
Why the hell this line exists

Just need to remove the arguments so it becomes:

CustomBot()

ofilter opened issue ofilter/Steam_Invite_Discord#35 2023-12-26 15:57:15 +01:00
Why the hell this line exists
ofilter commented on issue ofilter/Steam_Invite_Discord#32 2023-12-25 21:04:12 +01:00
Add healthcheck

Missclick*

ofilter reopened issue ofilter/Steam_Invite_Discord#32 2023-12-25 21:04:04 +01:00
Add healthcheck
ofilter closed issue ofilter/Steam_Invite_Discord#32 2023-12-25 21:04:02 +01:00
Add healthcheck
ofilter commented on issue ofilter/Steam_Invite_Discord#32 2023-12-25 21:04:02 +01:00
Add healthcheck

Was expecting the webserver to be nonblocking by default, yet it is.

So will need to dig on that.

This seems relevant.

https://stackoverflow.com/a/64090814

ofilter commented on issue ofilter/Steam_Invite_Discord#32 2023-12-25 18:37:18 +01:00
Add healthcheck

Pushed the commit:

Proof of concept has been applied.

Expecting it to work, but…

ofilter pushed to 1.3-webtest at ofilter/Steam_Invite_Discord 2023-12-25 18:34:57 +01:00
256b59b732 Applied the proof of concept, cannot currenlty test.
ofilter pushed to 1.3-webtest at ofilter/Steam_Invite_Discord 2023-12-25 18:29:46 +01:00
2f80d7454c Working proof of concept
ofilter commented on issue ofilter/Steam_Invite_Discord#32 2023-12-25 17:47:48 +01:00
Add healthcheck

Proof of concept.

Simple HTTP example, where we initialize a class (T).

Class T, once initialized, will be passed to the WebHandler class, which will store the T class, and use it to reply…

ofilter commented on issue ofilter/Steam_Invite_Discord#32 2023-12-25 14:30:20 +01:00
Add healthcheck

aiohttp is a non-blocking (asynchronous) simple web server.

https://docs.aiohttp.org/en/stable/web_quickstart.html

Using the phone so can't test right now.

ofilter pushed to 1.3-webtest at ofilter/Steam_Invite_Discord 2023-12-25 04:54:18 +01:00
9a289b6cae testing webthingies for the healthcheck