Skip to content

Commit

Permalink
nodeattr: increase hostlist buffer size
Browse files Browse the repository at this point in the history
Problem: As clusters get larger, some internal buffers used by
hostlist API functions are now too small.

Increase the buffer used in nodeattr from 1K to 64K, matching what
is used in libgenders.

Fixes #62
  • Loading branch information
chu11 committed Aug 16, 2024
1 parent a5f6b6c commit c084a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodeattr/nodeattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static char *_node_create(genders_t gp);
static char *_attr_create(genders_t gp);
#endif

#define HOSTLIST_BUFLEN 1024
#define HOSTLIST_BUFLEN 65536

int
main(int argc, char *argv[])
Expand Down

0 comments on commit c084a4e

Please sign in to comment.