# Is there a way to get config data from the server, without having to wait until the client calls fit?

**URL:** <https://discuss.flower.ai/t/is-there-a-way-to-get-config-data-from-the-server-without-having-to-wait-until-the-client-calls-fit/109>\
**Category:** Flower Framework\
**Created:** [February 28, 2024, 4:43pm UTC](https://discuss.flower.ai/t/is-there-a-way-to-get-config-data-from-the-server-without-having-to-wait-until-the-client-calls-fit/109 "2024-02-28T16:43:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flower](https://dub1.discourse-cdn.com/flex013/user_avatar/discuss.flower.ai/flower/32/17_2.png) [@flower](https://discuss.flower.ai/u/flower)\
**Post date:** [February 28, 2024, 4:43pm UTC](https://discuss.flower.ai/t/is-there-a-way-to-get-config-data-from-the-server-without-having-to-wait-until-the-client-calls-fit/109/1 "2024-02-28T16:43:52Z")

</div>

_This question was migrated from the Slack channel [#questions](https://friendly-flower.slack.com/archives/C01RM6LMKQA/p1708266793197709)._

**Original Question:**  
Hi. I would like to set the local batch size for each of my clients from the server. Currently i batch the data before as part of my client init. Is there a way to get config data from the server at this stage, without having to wait until the client calls fit ?  
Cheers,

* * *

**Answer:**  
Hi. Do you have a custom strategy and a custom client class?  
Currently, configs can only be sent to client by `Strategy.configure_fit` or `Strategy.configure_evaluate` . The server can store arbitrary configs in the instructions obtained from `Strategy` and send them to clients in the first fit round. I am not exactly sure what functionalities you want to implement but normally you can get the configs as an argument in `Client.fit` method.
