Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 405
    • Issues 405
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 21
    • Merge requests 21
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • funkwhalefunkwhale
  • Merge requests
  • !1841

New task checking if remote instance is reachable to avoid playback latence

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed petitminion requested to merge petitminion/funkwhale-petitminion:1711-ping_remote_instance into develop Jun 22, 2022
  • Overview 3
  • Commits 3
  • Pipelines 13
  • Changes 13

closes #1711 (closed) This allow to skip tracks that are not playable on the queue. It increase playback continuity.

Radios can have a little latency before skipping tracks from the queryset (like a minute or so)

Some of the migrations are related to a django update since they appears on develop.

  • settings.MUSIC_USE_DENORMALIZATION: in track model

  • Add a test to check if we can reach some outsite server ? (which server to use ? google ? ^^ ) Because if the task is trigerred when there is a local network error, all content will be set as unplayable during one hour.. Or we could trigger this task again when a request is made to library and no result is returned ?

  • Create a bug where some track will throw 404 on uploads ? This seems to be an issue present in develop for specifics tracks. I keep this here as a reminder or if someone wants to check.

Edited Jun 27, 2022 by petitminion
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 1711-ping_remote_instance