refactor: improve code logic and format in app remote sync task by HynoR · Pull Request #11691 · 1Panel-dev/1Panel
added 3 commits
January 19, 2026 16:21- Introduced a new `syncAppStoreTask` function to handle the synchronization of applications from the AppStore. - The function checks for updates, retrieves the application list, and manages the synchronization process, including downloading app icons and updating app details. - Refactored the existing app synchronization logic from `SyncAppListFromRemote` into the new task for improved maintainability and clarity. - Added logging for progress tracking during the synchronization process.
- Introduced `HandleRequestWithClient` function to allow custom HTTP clients for requests. - Moved the transport loading logic into the new function for better separation of concerns. - Updated `HandleRequest` to utilize the new function, enhancing flexibility in request handling.
HynoR
marked this pull request as ready for review
HynoR
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters