Skip to content

Commit

Permalink
Merge pull request #1678 from eeff/v2.6
Browse files Browse the repository at this point in the history
Pick v2.6 refactor: reduce message size
  • Loading branch information
fengzeroz authored Nov 20, 2023
2 parents b6a5c00 + 4c1bb77 commit 4da4f3e
Show file tree
Hide file tree
Showing 11 changed files with 1,273 additions and 1,168 deletions.
1,060 changes: 2 additions & 1,058 deletions include/neuron/adapter.h

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions include/neuron/define.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,7 @@ typedef enum {
NEU_TAG_CACHE_TYPE_NEVER,
} neu_tag_cache_type_e;

// forward declaration for neu_adapter_t
typedef struct neu_adapter neu_adapter_t;

#endif
3 changes: 0 additions & 3 deletions include/neuron/metrics.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ extern "C" {
#include "type.h"
#include "utils/uthash.h"

// forward declaration for neu_adapter_t
typedef struct neu_adapter neu_adapter_t;

typedef enum {
NEU_METRIC_TYPE_COUNTER,
NEU_METRIC_TYPE_GAUAGE,
Expand Down
Loading

0 comments on commit 4da4f3e

Please sign in to comment.