mirror of
https://github.com/koel/koel.git
synced 2026-04-25 08:46:00 +03:00
[PR #423] [CLOSED] Split settings saving from media library synchronization #1248
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#1248
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/koel/koel/pull/423
Author: @X-Ryl669
Created: 8/24/2016
Status: ❌ Closed
Base:
master← Head:splitSyncFromSettings📝 Commits (1)
19e4247Split settings saving from media library synchronization📊 Changes
8 files changed (+121 additions, -11 deletions)
View changed files
📝
app/Http/Controllers/API/SettingController.php(+1 -5)➕
app/Http/Controllers/API/SyncController.php(+26 -0)➕
app/Http/Requests/API/SyncRequest.php(+30 -0)📝
app/Http/routes.php(+1 -0)📝
app/Models/File.php(+10 -0)📝
resources/assets/js/components/main-wrapper/main-content/settings.vue(+35 -4)📝
tests/SettingTest.php(+0 -2)➕
tests/SyncTest.php(+18 -0)📄 Description
The former is a change to the DB config (instantaneous), the later an (possibly long) action.
Because of the processing time to sync the complete media library path, and the running time limit imposed by the webserver (which can no be modified without side effects), the sync' failed, and returns an error to the user who thinks the settings could not be saved instead because the UI says "Save settings" (and only if the user waited for the timeout...)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.