fixed proxy started working on new qm
This commit is contained in:
parent
d989c0c814
commit
e5f505335c
12 changed files with 375 additions and 115 deletions
|
|
@ -1,16 +1,16 @@
|
|||
import {
|
||||
BaseHandler,
|
||||
Disabled,
|
||||
Handler,
|
||||
Operation,
|
||||
ScheduledOperation,
|
||||
type IServiceContainer,
|
||||
} from '@stock-bot/handlers';
|
||||
import { getChannels, getPosts, getShorts, updateUniqueSymbols } from './actions';
|
||||
|
||||
@Handler('ceo')
|
||||
// @Disabled()
|
||||
@Disabled()
|
||||
export class CeoHandler extends BaseHandler {
|
||||
constructor(services: IServiceContainer) {
|
||||
constructor(services: any) {
|
||||
super(services); // Handler name read from @Handler decorator
|
||||
}
|
||||
|
||||
|
|
@ -21,7 +21,6 @@ export class CeoHandler extends BaseHandler {
|
|||
})
|
||||
getChannels = getChannels;
|
||||
|
||||
@Operation('update-unique-symbols-posts')
|
||||
@ScheduledOperation('update-unique-symbols-posts', '30 * * * *', {
|
||||
immediately: false,
|
||||
description: 'Process unique CEO symbols and schedule individual jobs',
|
||||
|
|
@ -33,7 +32,6 @@ export class CeoHandler extends BaseHandler {
|
|||
})
|
||||
updateUniqueSymbolsPosts = updateUniqueSymbols;
|
||||
|
||||
@Operation('update-unique-symbols-shorts')
|
||||
@ScheduledOperation('update-unique-symbols-shorts', '0 0 * * *', {
|
||||
immediately: false,
|
||||
description: 'Process unique CEO symbols and schedule individual jobs',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue