mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
fixing paths
This commit is contained in:
parent
3bba955c82
commit
de08503268
@ -12,7 +12,7 @@ import {PhotoDTO} from '../../../common/entities/PhotoDTO';
|
||||
import {Config} from '../../../common/config/private/Config';
|
||||
import {ThumbnailProcessingLib} from '../../../common/config/private/IPrivateConfig';
|
||||
import {ThumbnailTH} from '../../model/threading/ThreadPool';
|
||||
import {RendererInput} from '../../model/threading/ThumbnailWoker';
|
||||
import {RendererInput} from '../../model/threading/ThumbnailWorker';
|
||||
import {ITaskQue, TaskQue} from '../../model/threading/TaskQue';
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import {RendererInput, ThumbnailWorker} from './ThumbnailWoker';
|
||||
import {RendererInput, ThumbnailWorker} from './ThumbnailWorker';
|
||||
import {Config} from '../../../common/config/private/Config';
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@ import * as cluster from 'cluster';
|
||||
import {Logger} from '../../Logger';
|
||||
import {DiskManagerTask, ThumbnailTask, WorkerMessage, WorkerTask, WorkerTaskTypes} from './Worker';
|
||||
import {DirectoryDTO} from '../../../common/entities/DirectoryDTO';
|
||||
import {RendererInput} from './ThumbnailWoker';
|
||||
import {RendererInput} from './ThumbnailWorker';
|
||||
import {Config} from '../../../common/config/private/Config';
|
||||
import {ITaskQue} from './TaskQue';
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import {DiskMangerWorker} from './DiskMangerWorker';
|
||||
import {Logger} from '../../Logger';
|
||||
import {RendererInput, ThumbnailWorker} from './ThumbnailWoker';
|
||||
import {RendererInput, ThumbnailWorker} from './ThumbnailWorker';
|
||||
import {ThumbnailProcessingLib} from '../../../common/config/private/IPrivateConfig';
|
||||
|
||||
export class Worker {
|
||||
@ -8,7 +8,7 @@ export class Worker {
|
||||
|
||||
public static process() {
|
||||
Logger.debug('Worker is waiting for tasks');
|
||||
process.on('message', async (task: WorkerTask) => {
|
||||
process.on('message', async (task: WorkerTask)=> {
|
||||
try {
|
||||
let result = null;
|
||||
switch (task.type) {
|
||||
|
@ -38,7 +38,7 @@
|
||||
"locale": "0.1.0",
|
||||
"reflect-metadata": "0.1.12",
|
||||
"sqlite3": "4.0.2",
|
||||
"ts-exif-parser": "0.1.23",
|
||||
"ts-exif-parser": "0.1.24",
|
||||
"ts-node-iptc": "1.0.9",
|
||||
"typeconfig": "1.0.6",
|
||||
"typeorm": "0.2.7",
|
||||
|
Loading…
Reference in New Issue
Block a user