gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit64bc782364bc7823Records: #21 causemre64bc7823/lib/state.hl

426 B

  1. // lib/state.hl — the ONE in-memory cache every topic shares (lib/browse.hl, lib/dups.hl, lib/plays.hl, lib/queue.hl, lib/catalog.hl): a module of its own so that no two
  2. // topics hold separate copies. Dropped by `dropOrderCache` when a scan changed songs.
  3. import OrderCache from './order-cache.hl'
  4. static cache = new OrderCache()
  5. static dropOrderCache = () => {
  6. cache.lists = {}
  7. cache.stats = null
  8. cache.dups = null
  9. }

Branches

Latest commits

  • 64bc7823Records: #21 causemre
  • 76639655Records: B1 questionmre
  • d7906b36Records: mission 005 startedmre
  • d3df773cMission 005: doc linemre
  • 6a5d840aMission 005: jukebox#22mre
  • 13e5e748Records: mission 004 startedmre
  • a8098271Mission 004: jukebox#21mre
  • df8f5205Records: jukebox#19-21, #11 closedmre
  • b7a4e692Records: hybriel#298mre
  • 9bcbb017Records: day38b waits for day39 fixmre
  • f80504e1Records: day38b repro sentmre
  • 8048258bRecords: day38b jb3 regression, L1 Chromes stoppedmre
  • 68aace7fRecords: mission 003 day38bmre
  • d105d8a9Records: mpackdb integrity check cleanmre
  • 6e980c53Records: mpackdb rule refinementmre
  • 6d335ac4Records: storage copy rulingmre
  • 7eb2898dRecords: mpackdb second-opener rule until day38mre
  • b011f98eRecords: style form live on day35mre
  • 60d90cb2Records: L1 woken for the restartmre
  • 75ae544fRecords: restart waits for the connection to closemre