| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-10-29 | Bump to v1.4.2 v1.4.2 | Nakidai | |
| 2024-10-29 | Possibly fix bug in GC | Nakidai | |
| When I was checking log of this bot I've noticed that thing in gc loop Traceback (most recent call last): File "/var/lib/ptc/venv/lib/python3.10/site-packages/discord/client.py", line 449, in _run_event await coro(*args, **kwargs) File "/var/lib/ptc/venv/lib/python3.10/site-packages/petthecord/runner.py", line 57, in on_ready await petter.gc_loop() File "/var/lib/ptc/venv/lib/python3.10/site-packages/petthecord/cache.py", line 107, in gc_loop del self._cache[filename.split('_')[0]] KeyError: '...' I don't really want to know why this error has occured, but IMO it's something related to broken index.json. So to fix the bug I just wrapped deleting action to try-except block which will ignore the KeyError exception. TBH looks like a kludge, but as I said I don't want to get into it :> | |||
| 2024-10-28 | Bump to v1.4.1 v1.4.1 | Nakidai | |
| 2024-10-28 | Refactor | Nakidai | |
| - Move caching to another file - Rename some files - Make loggers look ok | |||
| 2024-10-27 | Bump to v1.4.0 v1.4.0 | Nakidai | |
| 2024-10-27 | Do gc in a loop | Nakidai | |
| 2024-10-27 | Probably fix #1 | Nakidai | |
| 2024-10-27 | Add logging | Nakidai | |
| 2024-10-27 | Add origin parameter | Nakidai | |
| 2024-10-27 | Remove cache folder | Nakidai | |
| 2024-10-27 | Remove debug print | Nakidai | |
| 2024-10-27 | Fix pyproject.toml | Nakidai | |
| 2024-10-27 | Fix typo v1.3.0 | Nakidai | |
| 2024-10-27 | Add caching | Nakidai | |
| Implement idea from https://raw.githubusercontent.com/nakidai/cptc/d69da87a74ea1fc18b73ec7660dad7d590e28ddd/TODO | |||
| 2024-10-05 | Fix README | Nakidai | |
| 2024-10-05 | Add Other petpet APIs section | Nakidai | |
| 2024-09-18 | Move to another domain | Nakidai | |
| 2024-09-14 | Add discord command v1.2.0 | Nakidai | |
| 2024-09-08 | Bump version v1.1.0 | Nakidai | |
| 2024-09-08 | Add redirect on root | Nakidai | |
| 2024-09-08 | Add information about the instance v1.0.0 | Nakidai | |
| 2024-09-04 | Fix run | Nakidai | |
| 2024-09-04 | Add Setup section to the README.md | Nakidai | |
| 2024-09-04 | Initial commit | Nakidai | |