Skip to content

Commit

Permalink
add user bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenglei2015 committed Dec 16, 2015
1 parent 6643ea7 commit 883ea68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LION.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ zkserver=qa.lion.dp:2181

### 2.3 API 使用方式

setSwimlaneReadRollback 设置为 false 则对应 swimlane 为 null 时不从 default 泳道中读取数值
setReadFromCache 设置为 false 则不从本地 cache 中读取,从数据源直接拿数据
使用 Lion.setSwimlaneReadRollback(false) 设置为 false 则对应 swimlane 为 null 时不从 default 泳道中读取数值
使用 Lion.setReadFromCache(false) 设置为 false 则不从本地 cache 中读取,从数据源直接拿数据

```java
public class Lion {
Expand Down
2 changes: 2 additions & 0 deletions lion-client/src/main/resources/lion.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
swimlaneReadRollback=true
readFromCache=true

0 comments on commit 883ea68

Please sign in to comment.