OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The LUCI Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
3 // found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 // Package memory provides an implementation of infra/gae/libs/wrapper which | 5 // Package memory provides an implementation of infra/gae/libs/wrapper which |
6 // backs to local memory ONLY. This is useful for unittesting, and is also used | 6 // backs to local memory ONLY. This is useful for unittesting, and is also used |
7 // for the nested-transaction filter implementation. | 7 // for the nested-transaction filter implementation. |
8 // | 8 // |
9 // Debug EnvVars | 9 // Debug EnvVars |
10 // | 10 // |
11 // To debug GKVLite memory access for a binary that uses this memory | 11 // To debug GKVLite memory access for a binary that uses this memory |
12 // implementation, you may set the flag: | 12 // implementation, you may set the flag: |
13 // -luci.gae.gkvlite_trace_folder | 13 // -luci.gae.gkvlite_trace_folder |
14 // to `/path/to/some/folder`. Every gkvlite memory store will be assigned | 14 // to `/path/to/some/folder`. Every gkvlite memory store will be assigned |
15 // a numbered file in that folder, and all access to that store will be logged | 15 // a numbered file in that folder, and all access to that store will be logged |
16 // to that file. Setting this to "-" will cause the trace information to dump to | 16 // to that file. Setting this to "-" will cause the trace information to dump to |
17 // stdout. | 17 // stdout. |
18 package memory | 18 package memory |
OLD | NEW |