Optimization of emby scanning

The speed of the emby media database scanning is too slow, can it be optimized?

Are you using the Library mode or Direct mode?