change priority field to byte

This commit is contained in:
2016-05-16 14:09:42 -07:00
parent 9aa8eed297
commit 49b982db99

View File

@@ -3,7 +3,7 @@ import { defaultSettings } from './constants';
const schema = { const schema = {
jobtype: { type: 'string', index: 'not_analyzed' }, jobtype: { type: 'string', index: 'not_analyzed' },
payload: { type: 'object', enabled: false }, payload: { type: 'object', enabled: false },
priority: { type: 'short' }, priority: { type: 'byte' },
timeout: { type: 'long' }, timeout: { type: 'long' },
process_expiration: { type: 'date' }, process_expiration: { type: 'date' },
created_by: { type: 'string', index: 'not_analyzed' }, created_by: { type: 'string', index: 'not_analyzed' },