package octez-l2-libs
Octez layer2 libraries
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
doc/src/octez-l2-libs.layer2_store/store_events.ml.html
Source file store_events.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
(*****************************************************************************) (* *) (* SPDX-License-Identifier: MIT *) (* Copyright (c) 2023 Functori <contact@functori.com> *) (* *) (*****************************************************************************) module Simple = struct include Internal_event.Simple let section = ["l2_store"] let starting_gc = declare_1 ~section ~name:"l2_store_starting_gc" ~msg:"Starting GC for store {store_name}" ~level:Info ~pp1:Format.pp_print_string ("store_name", Data_encoding.string) let finished_gc = declare_1 ~section ~name:"l2_store_finished_gc" ~msg:"Finished GC for store {store_name}" ~level:Info ~pp1:Format.pp_print_string ("store_name", Data_encoding.string) let ignore_gc = declare_1 ~section ~name:"l2_store_ignore_gc" ~msg: "Ignore GC for store {store_name} because there is already an ongoing \ one" ~level:Info ~pp1:Format.pp_print_string ("store_name", Data_encoding.string) let failed_gc = declare_2 ~section ~name:"l2_store_failed_gc" ~msg:"[Warning] Failed GC for store {store_name} because {error}" ~level:Warning (* This event has level warning right now but may be changed in the future depending on if it appears in the wild. *) ~pp1:Format.pp_print_string ~pp2:pp_print_trace ("store_name", Data_encoding.string) ("error", trace_encoding) let missing_value_gc = declare_2 ~section ~name:"l2_store_missing_value_gc" ~msg: "[Warning] GC could not retain key {key} of store {store_name} it is \ not in the store any more." ~level:Warning (* This event has level warning right now but may be changed in the future depending on if it appears in the wild. *) ~pp1:Format.pp_print_string ~pp2:Format.pp_print_string ("store_name", Data_encoding.string) ("key", Data_encoding.string) end let starting_gc name = Simple.(emit starting_gc) name let finished_gc name = Simple.(emit finished_gc) name let ignore_gc name = Simple.(emit ignore_gc) name let failed_gc name error = Simple.(emit failed_gc) (name, error) let missing_value_gc name key = Simple.(emit missing_value_gc) (name, key)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>