Search album debouncing #8366

Closed
opened 2026-02-05 13:41:40 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @rzulian on GitHub (Jan 30, 2026).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

Not sure if this is a new bug in 2.5.0, but searching for an album if very slow. The main problem, I think, is that the search is missing a debouncing system

The OS that Immich Server is running on

Devian

Version of Immich Server

v2.5.0

Version of Immich Mobile App

v2.5.0

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

No response

Your docker-compose.yml content

version: '3.7'
x-environment:
  NODE_ENV: production
  DB_HOSTNAME: immich_postgres_1
  DB_USERNAME: immich
  DB_PASSWORD: xxxx
  DB_DATABASE_NAME: immich
  REDIS_HOSTNAME: immich_redis_1
  LOG_LEVEL: log
  JWT_SECRET: ${APP_SEED}
  DISABLE_REVERSE_GEOCODING: 'false'
  REVERSE_GEOCODING_PRECISION: '3'
  PUBLIC_LOGIN_PAGE_MESSAGE: ''
  IMMICH_MACHINE_LEARNING_URL: http://immich_machine-learning_1:3003
services:
  app_proxy:
    environment:
      APP_HOST: immich_server_1
      APP_PORT: 2283
      PROXY_AUTH_ADD: 'false'
    container_name: immich_app_proxy_1
    devices:
      - /dev/dri
  server:
    image: >-
      ghcr.io/immich-app/immich-server:v2.5.0@sha256:x
    volumes:
      - ${APP_DATA_DIR}/data/upload:/data
    environment:
      NODE_ENV: production
      DB_HOSTNAME: immich_postgres_1
      DB_USERNAME: immich
      DB_PASSWORD: xxx
      DB_DATABASE_NAME: immich
      REDIS_HOSTNAME: immich_redis_1
      LOG_LEVEL: log
      JWT_SECRET: ${APP_SEED}
      DISABLE_REVERSE_GEOCODING: 'false'
      REVERSE_GEOCODING_PRECISION: '3'
      PUBLIC_LOGIN_PAGE_MESSAGE: ''
      IMMICH_MACHINE_LEARNING_URL: http://immich_machine-learning_1:3003
    depends_on:
      - redis
      - postgres
    restart: on-failure
    container_name: immich_server_1
    devices:
      - /dev/dri
  machine-learning:
    image: >-
      ghcr.io/immich-app/immich-machine-learning:v2.5.0@sha256:x
    volumes:
      - ${APP_DATA_DIR}/data/model-cache:/cache
    environment:
      NODE_ENV: production
      DB_HOSTNAME: immich_postgres_1
      DB_USERNAME: immich
      DB_PASSWORD: xx
      DB_DATABASE_NAME: immich
      REDIS_HOSTNAME: immich_redis_1
      LOG_LEVEL: log
      JWT_SECRET: ${APP_SEED}
      DISABLE_REVERSE_GEOCODING: 'false'
      REVERSE_GEOCODING_PRECISION: '3'
      PUBLIC_LOGIN_PAGE_MESSAGE: ''
      IMMICH_MACHINE_LEARNING_URL: http://immich_machine-learning_1:3003
  restart: on-failure
    container_name: immich_machine-learning_1
    devices:
      - /dev/dri
  redis:
    image: >-
      valkey/valkey:8-bookworm@sha256:xx
    user: '1000:1000'
    restart: on-failure
    volumes:
      - ${APP_DATA_DIR}/data/redis:/data
    container_name: immich_redis_1
    devices:
      - /dev/dri
  postgres:
    image: >-
      ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:x
    environment:
      NODE_ENV: production
      DB_HOSTNAME: immich_postgres_1
      DB_USERNAME: immich
      DB_PASSWORD: xxx
      DB_DATABASE_NAME: immich
      REDIS_HOSTNAME: immich_redis_1
      LOG_LEVEL: log
      JWT_SECRET: ${APP_SEED}
      DISABLE_REVERSE_GEOCODING: 'false'
      REVERSE_GEOCODING_PRECISION: '3'
      PUBLIC_LOGIN_PAGE_MESSAGE: ''

Your .env content

x-environment:
  NODE_ENV: production
  DB_HOSTNAME: immich_postgres_1
  DB_USERNAME: immich
  DB_PASSWORD: xxxx
  DB_DATABASE_NAME: immich
  REDIS_HOSTNAME: immich_redis_1
  LOG_LEVEL: log
  JWT_SECRET: ${APP_SEED}
  DISABLE_REVERSE_GEOCODING: 'false'
  REVERSE_GEOCODING_PRECISION: '3'
  PUBLIC_LOGIN_PAGE_MESSAGE: ''
  IMMICH_MACHINE_LEARNING_URL: http://immich_machine-learning_1:3003

Reproduction steps

  1. press any letter in search album
  2. it takes 3-4 seconds before showing the letter and get the results

Relevant log output


Additional information

No response

Originally created by @rzulian on GitHub (Jan 30, 2026). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug Not sure if this is a new bug in 2.5.0, but searching for an album if very slow. The main problem, I think, is that the search is missing a debouncing system ### The OS that Immich Server is running on Devian ### Version of Immich Server v2.5.0 ### Version of Immich Mobile App v2.5.0 ### Platform with the issue - [ ] Server - [x] Web - [ ] Mobile ### Device make and model _No response_ ### Your docker-compose.yml content ```YAML version: '3.7' x-environment: NODE_ENV: production DB_HOSTNAME: immich_postgres_1 DB_USERNAME: immich DB_PASSWORD: xxxx DB_DATABASE_NAME: immich REDIS_HOSTNAME: immich_redis_1 LOG_LEVEL: log JWT_SECRET: ${APP_SEED} DISABLE_REVERSE_GEOCODING: 'false' REVERSE_GEOCODING_PRECISION: '3' PUBLIC_LOGIN_PAGE_MESSAGE: '' IMMICH_MACHINE_LEARNING_URL: http://immich_machine-learning_1:3003 services: app_proxy: environment: APP_HOST: immich_server_1 APP_PORT: 2283 PROXY_AUTH_ADD: 'false' container_name: immich_app_proxy_1 devices: - /dev/dri server: image: >- ghcr.io/immich-app/immich-server:v2.5.0@sha256:x volumes: - ${APP_DATA_DIR}/data/upload:/data environment: NODE_ENV: production DB_HOSTNAME: immich_postgres_1 DB_USERNAME: immich DB_PASSWORD: xxx DB_DATABASE_NAME: immich REDIS_HOSTNAME: immich_redis_1 LOG_LEVEL: log JWT_SECRET: ${APP_SEED} DISABLE_REVERSE_GEOCODING: 'false' REVERSE_GEOCODING_PRECISION: '3' PUBLIC_LOGIN_PAGE_MESSAGE: '' IMMICH_MACHINE_LEARNING_URL: http://immich_machine-learning_1:3003 depends_on: - redis - postgres restart: on-failure container_name: immich_server_1 devices: - /dev/dri machine-learning: image: >- ghcr.io/immich-app/immich-machine-learning:v2.5.0@sha256:x volumes: - ${APP_DATA_DIR}/data/model-cache:/cache environment: NODE_ENV: production DB_HOSTNAME: immich_postgres_1 DB_USERNAME: immich DB_PASSWORD: xx DB_DATABASE_NAME: immich REDIS_HOSTNAME: immich_redis_1 LOG_LEVEL: log JWT_SECRET: ${APP_SEED} DISABLE_REVERSE_GEOCODING: 'false' REVERSE_GEOCODING_PRECISION: '3' PUBLIC_LOGIN_PAGE_MESSAGE: '' IMMICH_MACHINE_LEARNING_URL: http://immich_machine-learning_1:3003 restart: on-failure container_name: immich_machine-learning_1 devices: - /dev/dri redis: image: >- valkey/valkey:8-bookworm@sha256:xx user: '1000:1000' restart: on-failure volumes: - ${APP_DATA_DIR}/data/redis:/data container_name: immich_redis_1 devices: - /dev/dri postgres: image: >- ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:x environment: NODE_ENV: production DB_HOSTNAME: immich_postgres_1 DB_USERNAME: immich DB_PASSWORD: xxx DB_DATABASE_NAME: immich REDIS_HOSTNAME: immich_redis_1 LOG_LEVEL: log JWT_SECRET: ${APP_SEED} DISABLE_REVERSE_GEOCODING: 'false' REVERSE_GEOCODING_PRECISION: '3' PUBLIC_LOGIN_PAGE_MESSAGE: '' ``` ### Your .env content ```Shell x-environment: NODE_ENV: production DB_HOSTNAME: immich_postgres_1 DB_USERNAME: immich DB_PASSWORD: xxxx DB_DATABASE_NAME: immich REDIS_HOSTNAME: immich_redis_1 LOG_LEVEL: log JWT_SECRET: ${APP_SEED} DISABLE_REVERSE_GEOCODING: 'false' REVERSE_GEOCODING_PRECISION: '3' PUBLIC_LOGIN_PAGE_MESSAGE: '' IMMICH_MACHINE_LEARNING_URL: http://immich_machine-learning_1:3003 ``` ### Reproduction steps 1. press any letter in search album 2. it takes 3-4 seconds before showing the letter and get the results ### Relevant log output ```shell ``` ### Additional information _No response_
Author
Owner

@bo0tzz commented on GitHub (Jan 30, 2026):

#24659

@bo0tzz commented on GitHub (Jan 30, 2026): #24659
Author
Owner

@rzulian commented on GitHub (Jan 30, 2026):

I don't think this is duplicated. Off course if you are returning all the album that contains the first character you type, this can be slow.

@rzulian commented on GitHub (Jan 30, 2026): I don't think this is duplicated. Off course if you are returning all the album that contains the first character you type, this can be slow.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#8366