Showing
3 changed files
with
9 additions
and
9 deletions
... | ... | @@ -29,13 +29,13 @@ public class NashornJsInvokeService extends AbstractNashornJsInvokeService { |
29 | 29 | @Value("${js.local.use_js_sandbox}") |
30 | 30 | private boolean useJsSandbox; |
31 | 31 | |
32 | - @Value("${js.local.js_sandbox.monitor_thread_pool_size}") | |
32 | + @Value("${js.local.monitor_thread_pool_size}") | |
33 | 33 | private int monitorThreadPoolSize; |
34 | 34 | |
35 | - @Value("${js.local.js_sandbox.max_cpu_time}") | |
35 | + @Value("${js.local.max_cpu_time}") | |
36 | 36 | private long maxCpuTime; |
37 | 37 | |
38 | - @Value("${js.local.js_sandbox.max_errors}") | |
38 | + @Value("${js.local.max_errors}") | |
39 | 39 | private int maxErrors; |
40 | 40 | |
41 | 41 | @Override | ... | ... |
1 | 1 | /** |
2 | 2 | * Copyright © 2016-2018 The Thingsboard Authors |
3 | - * <p> | |
3 | + * | |
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | * you may not use this file except in compliance with the License. |
6 | 6 | * You may obtain a copy of the License at |
7 | - * <p> | |
8 | - * http://www.apache.org/licenses/LICENSE-2.0 | |
9 | - * <p> | |
7 | + * | |
8 | + * http://www.apache.org/licenses/LICENSE-2.0 | |
9 | + * | |
10 | 10 | * Unless required by applicable law or agreed to in writing, software |
11 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
12 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ... | ... |
... | ... | @@ -36,7 +36,7 @@ public class TbKafkaSettings { |
36 | 36 | public static final String RESPONSE_TOPIC_HEADER = "responseTopic"; |
37 | 37 | |
38 | 38 | |
39 | - @Value("${kafka.bootstrap.server}") | |
39 | + @Value("${kafka.bootstrap.servers}") | |
40 | 40 | private String servers; |
41 | 41 | |
42 | 42 | @Value("${kafka.acks}") |
... | ... | @@ -54,7 +54,7 @@ public class TbKafkaSettings { |
54 | 54 | @Value("${kafka.buffer.memory}") |
55 | 55 | private long bufferMemory; |
56 | 56 | |
57 | - @Value("${kafka.other:null}") | |
57 | + @Value("${kafka.other:#{null}}") | |
58 | 58 | private List<TbKafkaProperty> other; |
59 | 59 | |
60 | 60 | public Properties toProps() { | ... | ... |