Commit 015c7fb
authored
[es] Remove unused indexCache (jaegertracing#5408)
## Which problem is this PR solving?
- The cache was initialized with incorrect parameter, and when I looked
around it wasn't even used anywhere
## Description of the changes
- delete indexCache and indexCacheTTL argument
## How was this change tested?
```
$ go test ./plugin/storage/es/spanstore
ok github.com/jaegertracing/jaeger/plugin/storage/es/spanstore 0.471s
```
Signed-off-by: Yuri Shkuro <[email protected]>1 parent 14aa43d commit 015c7fb
2 files changed
+5
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| |||
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 81 | | |
88 | 82 | | |
89 | 83 | | |
90 | 84 | | |
91 | 85 | | |
92 | 86 | | |
93 | 87 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 88 | + | |
101 | 89 | | |
102 | 90 | | |
103 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
428 | 427 | | |
429 | 428 | | |
430 | 429 | | |
431 | 430 | | |
432 | 431 | | |
433 | | - | |
434 | 432 | | |
435 | 433 | | |
436 | 434 | | |
437 | 435 | | |
438 | 436 | | |
439 | | - | |
440 | 437 | | |
441 | 438 | | |
442 | 439 | | |
| |||
451 | 448 | | |
452 | 449 | | |
453 | 450 | | |
454 | | - | |
455 | 451 | | |
456 | 452 | | |
457 | 453 | | |
| |||
0 commit comments